Re: [PATCH v5 1/3] fs/file.c: remove sanity_check and add likely/unlikely in alloc_fd()
From: Al Viro
Date: Wed Aug 14 2024 - 23:45:34 EST
On Thu, Aug 15, 2024 at 10:49:40AM +0800, Ma, Yu wrote:
> Yes, thanks Al, fully agree with you. The if (error) could be removed here
> as the above unlikely would make sure no 0 return here. Should I submit
> another version of patch set to update it, or you may help to update it
> directly during merge? I'm not very familiar with the rules, please let me
> know if I'd update and I'll take action soon. Thanks again for your careful
> check here.
See the current work.fdtable...