]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: pass the attr value to put_listent when possible
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 29 Jul 2024 23:22:48 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:03 +0000 (17:01 -0700)
commit41cf5d03306f0162ed5893d5eb37a55ce9672b17
tree8359bb6d960f3b69ada38df6e7cc91e21b6c3d9e
parent7aa234805b88faf26d3c0f1230b0a65ff86410f3
xfs: pass the attr value to put_listent when possible

Source kernel commit: 8f4b980ee67fe53a77b70b1fdd8e15f2fe37180c

Pass the attr value to put_listent when we have local xattrs or
shortform xattrs.  This will enable the GETPARENTS ioctl to use
xfs_attr_list as its backend.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_attr.h
libxfs/xfs_attr_sf.h