]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: cleanup xfs_dir2_data_entsize
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jan 2020 16:29:43 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:43 +0000 (11:29 -0500)
commite778c95df200cc26ea8ac6de2afaedb895c6d481
treec48d1cc9dd1244cf1ca34276bceed375cc3595bb
parent58a1d356cc7ef410cc78d8d9a60124a7b2654906
xfs: cleanup xfs_dir2_data_entsize

Source kernel commit: 711c7dbf5fdafdbb2fb906b38cefb113bfdd4a79

Remove the XFS_DIR2_DATA_ENTSIZE and XFS_DIR3_DATA_ENTSIZE and open
code them in their only caller, which now becomes so simple that
we can turn it into an inline function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/libxfs.h
libxfs/xfs_da_format.c
libxfs/xfs_dir2_priv.h