]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/scrub/dabtree.c
xfs: scrub directory/attribute btrees
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 18 Oct 2017 04:37:43 +0000 (21:37 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:25 +0000 (15:38 -0700)
commit7c4a07a424c18d95f49b0c0c3d8c5afd969e0a10
tree396a42e688a412436f8c457524f9e39b07a0b653
parent99d9d8d05da26f47aa8412397407f962bcb4713a
xfs: scrub directory/attribute btrees

Provide a way to check the shape and scrub the hashes and records
in a directory or extended attribute btree.  These are helper functions
for the directory & attribute scrubbers in subsequent patches.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
[fengguang: remove unneeded variable to store return value]
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/Makefile
fs/xfs/scrub/dabtree.c [new file with mode: 0644]
fs/xfs/scrub/dabtree.h [new file with mode: 0644]