]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: turn XFS_ATTR3_RMT_BUF_SPACE into a function
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:56 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:05 +0000 (17:01 -0700)
commitd30f0d3f345b0a6b2fbe9b196ad6b1d1b0a1d846
treec95ba6377b8af5d55c9e187ce0800f9c4a36c92f
parentf93fdf9f94dd58ec650a8e8a07fb4f66dfe003fb
xfs: turn XFS_ATTR3_RMT_BUF_SPACE into a function

Source kernel commit: a5714b67cad586f44777ad834e577037ce6b64fd

Turn this into a properly typechecked function, and actually use the
correct blocksize for extended attributes.  The function cannot be
static inline because xfsprogs userspace uses it.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
db/attr.c
db/metadump.c
libxfs/xfs_attr_remote.c
libxfs/xfs_da_format.h