Re: [PATCH] btrfs: adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR ioctl interface support

2017-04-05 Thread David Sterba
On Tue, Apr 04, 2017 at 09:36:39PM +0530, Chandan Jay Sharma wrote: > This patch adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR ioctl interface support > for btrfs. Extended file attributes are 32 bit values (FS_XFLAGS_SYNC, > FS_XFLAG_IMMUTABLE, etc) which have one-to-one mapping to the flag values >

[PATCH] btrfs: adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR ioctl interface support

2017-04-04 Thread Chandan Jay Sharma
This patch adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR ioctl interface support for btrfs. Extended file attributes are 32 bit values (FS_XFLAGS_SYNC, FS_XFLAG_IMMUTABLE, etc) which have one-to-one mapping to the flag values that can be stored in inode->i_flags (i.e. S_SYNC, S_IMMUTABLE, etc). The