]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: cleanup xfs_dir2_data_freescan_int
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)
commit5a73a1c9d55d463213f127b7c54daa8f83bf3f3f
tree0e946066a825dd7dc8c10bb75f38a3e06110be44
parent08246d63e537e1aefdec6b8c3da968e54c05168e
xfs: cleanup xfs_dir2_data_freescan_int

Source kernel commit: 62479f573459827edacb296dac4ad7ca714ab71c

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