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

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/scrub/dir.c