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

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