]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: cleanup __xfs_dir3_data_check
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)
commit014ee9ecef1f6dad669715253be675993f6c232e
treeae40cb2d16fbca2e94c7da7bb09d68f4b5a50254
parent5a73a1c9d55d463213f127b7c54daa8f83bf3f3f
xfs: cleanup __xfs_dir3_data_check

Source kernel commit: 48a71399e7477043ee25573b3df2505787fcf0c4

Use an offset as the main means for iteration, and only do pointer
arithmetics to find the data/unused entries.

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>
libxfs/xfs_dir2_data.c