]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
repair: reconstruct the finobt in phase 5
authorBrian Foster <bfoster@redhat.com>
Mon, 26 May 2014 23:07:11 +0000 (09:07 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 26 May 2014 23:07:11 +0000 (09:07 +1000)
commitbbdb21b6e080f54994b4cd3152026274767f75ca
tree6703507083714f1e4047c2d55a8c6d89e128da55
parent01159bd2fab0e9e6bc3c35a04ff20000a07fe43e
repair: reconstruct the finobt in phase 5

Support reconstruction of the finobt in phase 5 of xfs_repair. We
create a new cursor for the finobt and write the in-core records
that contain free inodes to the tree. Finally, pass the cursor
along to build_agi() to include the finobt root and level count in
the agi header.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
repair/phase5.c