]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/libxfs/xfs_attr_leaf.c
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)
commite513e25c380ab98d401714077c8b8ff4dae9f98b
treea9d780dcd7f20ceafd58a18ebb2c52f1aa29fc35
parentc36f533f14075fee35f8beeb1729d0975fb2e137
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