]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: cleanup xfs_dir2_data_entsize
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Nov 2019 23:05:38 +0000 (15:05 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 11 Nov 2019 00:54:24 +0000 (16:54 -0800)
commit43d5e97571a1a362799abab446a3643914c6a972
tree443b7ee94341d17fba96d3be8b36d167e330a033
parente317dbec1eafe43f92c2ee2d78199a4a2f3e1961
xfs: cleanup xfs_dir2_data_entsize

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>
fs/xfs/libxfs/xfs_da_format.c
fs/xfs/libxfs/xfs_dir2_priv.h