]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: refactor attr3 leaf table size computation
authorDarrick J. Wong <djwong@kernel.org>
Fri, 23 Jan 2026 17:27:31 +0000 (09:27 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 23 Jan 2026 17:27:31 +0000 (09:27 -0800)
commita165f7e7633ee0d83926d29e7909fdd8dd4dfadc
tree1a4cf081b3c99b4d79e7f0b17bbfa03d06dc55ab
parent3eefc0c2b78444b64feeb3783c017d6adc3cd3ce
xfs: refactor attr3 leaf table size computation

Replace all the open-coded callsites with a single static inline helper.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/libxfs/xfs_da_format.h