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

2017-04-04 Thread Chandan Jay Sharma
etc). The flags can be set/unset to enable/disable file attributes. These attributes are listed/modified by lsattr/chattr. Signed-off-by: Chandan Jay Sharma <chandan...@gmail.com> --- fs/btrfs/ioctl.c | 148 +++ 1 file changed, 148 insertions(+) d

[PATCH] btrfs: add support for extended file attributes

2017-03-14 Thread Chandan Jay Sharma
This commit impliments FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR ioctls for BTRFS. Signed-off-by: Chandan Jay Sharma <chandan...@gmail.com> --- fs/btrfs/ioctl.c | 146 +++ 1 file changed, 146 insertions(+) diff --git a/fs/btrfs/ioctl.