Re: [PATCH 1/5] vfs: create a generic checking and prep function for FS_IOC_SETFLAGS

Al Viro <[email protected]> Wed, 26 Jun 2019 05:02:02 +0100
Newsgroups gmane.comp.file-systems.jfs.general
Message-ID <20190626040202.GA32272__37174.2471981392$1561522853$gmane$org@ZenIV.linux.org.uk>
On Tue, Jun 25, 2019 at 07:32:10PM -0700, Darrick J. Wong wrote:
> 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.

Change in efivarfs behaviour deserves a note.  I'm not saying it's wrong,
but behaviour is changed there - no-op FS_IOC_SETFLAGS used to fail
without CAP_LINUX_IMMUTABLE...