]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: devirtualize ->sf_entsize and ->sf_nextentry
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Nov 2019 23:02:38 +0000 (15:02 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 11 Nov 2019 00:54:21 +0000 (16:54 -0800)
commitbc9d901fb7b9e0659ac2e7ce9ebc50a5c6f32154
tree240846bba00aa22123a5f4df0390c8b49af22e20
parent565a06fc8709678bbadee99bf58e090477a442bc
xfs: devirtualize ->sf_entsize and ->sf_nextentry

Just check for file-type enabled directories directly.

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