]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: cleanup xfs_dir2_block_to_sf
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)
commit08246d63e537e1aefdec6b8c3da968e54c05168e
treed5a063eb782b48231b57b9acc4138386ebea2b47
parent9c036d760a9a1f81d6a79b2b170f605335023f5e
xfs: cleanup xfs_dir2_block_to_sf

Source kernel commit: 8073af5153ce25fd936e5c190d6ccf30b9cae89d

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_sf.c