]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ebdea8818594e51ff3c32def462f7d85027e780
tree396a42e688a412436f8c457524f9e39b07a0b653
parent9b1b8205b3053fd7d7905bd6e12b603233ad571f
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]