Re: [Cluster-devel] [PATCH 1/5] vfs: create a generic checking and prep function for FS_IOC_SETFLAGS
Bob Peterson <[email protected]> Wed, 26 Jun 2019 08:20:42 -0400 (EDT)
| Newsgroups | gmane.comp.file-systems.jfs.general |
|---|---|
| Message-ID | <868182386.37358699.1561551642881.JavaMail.zimbra__4457.25500337488$1561553312$gmane$org@redhat.com> |
----- Original Message ----- > From: Darrick J. Wong <[email protected]> > > Create a generic function to check incoming FS_IOC_SETFLAGS flag values > and later prepare the inode for updates so that we can standardize the > implementations that follow ext4's flag values. > > Signed-off-by: Darrick J. Wong <[email protected]> > Reviewed-by: Jan Kara <[email protected]> > Reviewed-by: Christoph Hellwig <[email protected]> > Acked-by: David Sterba <[email protected]> > --- > fs/btrfs/ioctl.c | 13 +++++-------- > fs/efivarfs/file.c | 26 +++++++++++++++++--------- > fs/ext2/ioctl.c | 16 ++++------------ > fs/ext4/ioctl.c | 13 +++---------- > fs/f2fs/file.c | 7 ++++--- > fs/gfs2/file.c | 42 +++++++++++++++++++++++++++++------------- > fs/hfsplus/ioctl.c | 21 ++++++++++++--------- > fs/inode.c | 24 ++++++++++++++++++++++++ > fs/jfs/ioctl.c | 22 +++++++--------------- > fs/nilfs2/ioctl.c | 9 ++------- > fs/ocfs2/ioctl.c | 13 +++---------- > fs/orangefs/file.c | 35 ++++++++++++++++++++++++++--------- > fs/reiserfs/ioctl.c | 10 ++++------ > fs/ubifs/ioctl.c | 13 +++---------- > include/linux/fs.h | 3 +++ > 15 files changed, 146 insertions(+), 121 deletions(-) The gfs2 portion looks correct. Reviewed-by: Bob Peterson <[email protected]> Regards, Bob Peterson