]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove ATTR_KERNOVAL
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Feb 2020 01:30:35 +0000 (17:30 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Mar 2020 04:55:53 +0000 (20:55 -0800)
commita21b7ffc1c1fa0d7d4363ac7e1ad2dfb50bd8332
treea9d780dcd7f20ceafd58a18ebb2c52f1aa29fc35
parentb82c2820fdf18e3174a90714a4fceb0433b6fefe
xfs: remove ATTR_KERNOVAL

We can just pass down the Linux convention of a zero valuelen to just
query for the existance of an attribute to the low-level code instead.
The use in the legacy xfs_attr_list code only used by the ioctl
interface was already dead code, as the callers check that the flag
is not present.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr.h
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/libxfs/xfs_attr_remote.c
fs/xfs/xfs_attr_list.c
fs/xfs/xfs_xattr.c