]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add FS_IOC_FSGETXATTR ioctl
authorDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 17:51:16 +0000 (19:51 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:23:29 +0000 (18:23 +0200)
commit01b7dfc4002886db000d5a51106ef0c3203c2a24
tree0731b7eeff49400919e38dab8cd14ee79d85b43c
parent0081db4e947f2f6037187330f7b5b1c6e0124013
btrfs: add FS_IOC_FSGETXATTR ioctl

The new ioctl is an extension to the FS_IOC_GETFLAGS and adds new
flags and is extensible. This patch allows to return the xflags portion
of the fsxattr structure, other items have no meaning for btrfs or can
be added later.

The original patch was written by Chandan Jay Sharma but was incomplete
and no further revision has been sent. Several cleanups were necessary
to avoid confusion with other ioctls, as we have another flavor of
flags.

Based-on-patches-by: Chandan Jay Sharma <chandansbg@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c