lkml.org 
[lkml]   [2021]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [f2fs-dev] [PATCH v2] f2fs: support iflag change given the mask
On 05/10, Eric Biggers wrote:
> On Mon, May 10, 2021 at 07:42:27AM -0700, Jaegeuk Kim wrote:
> > In f2fs_fileattr_set(),
> >
> > if (!fa->flags_valid)
> > mask &= FS_COMMON_FL;
> >
> > In this case, we can set supported flags by mask only instead of BUG_ON.
> >
> > /* Flags shared betwen flags/xflags */
> > (FS_SYNC_FL | FS_IMMUTABLE_FL | FS_APPEND_FL | \
> > FS_NODUMP_FL | FS_NOATIME_FL | FS_DAX_FL | \
> > FS_PROJINHERIT_FL)
> >
> > Fixes: 4c5b47997521 ("vfs: add fileattr ops")
>
> Shouldn't it be:
>
> Fixes: 9b1bb01c8ae7 ("f2fs: convert to fileattr")

Heh, thank you. I applied this change in the git. :)

\
 
 \ /
  Last update: 2021-05-11 02:23    [W:0.037 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site