]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add helpers to allocate and initialize fresh btree roots
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 30 May 2018 05:18:09 +0000 (22:18 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 30 May 2018 15:03:14 +0000 (08:03 -0700)
commitdf12f7a2593ca2813618deed47949b3ba4fe04bf
tree6220e252945fcf43b943812defbd99265d2e9fc6
parent1f2f50dadba955b19854eb6c21eafdaed24f0616
xfs: add helpers to allocate and initialize fresh btree roots

Add a pair of helper functions to allocate and initialize fresh btree
roots.  The repair functions will use these as part of recreating
corrupted metadata.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
fs/xfs/scrub/repair.c
fs/xfs/scrub/repair.h