]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
repair: pull the build_agi() call up out of the inode tree build
authorBrian Foster <bfoster@redhat.com>
Mon, 26 May 2014 23:07:00 +0000 (09:07 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 26 May 2014 23:07:00 +0000 (09:07 +1000)
commitd6412d173d835eb5751ac3f4ad90d3d0412fb5bf
treed30da3fe9c235df3c671921505e103758ad89460
parentbb266066401c13b22d12d2e0827f8b346003f78e
repair: pull the build_agi() call up out of the inode tree build

Pull the build_agi() call out of build_ino_tree() in phase 5. This
is to prepare for finobt support, in which build_agi() will require
context from multiple inode tree reconstructions (both the inode
allocation tree and free inode tree, when it exists).

Create the new 'agi_stat' structure to carry the requisite state
from the build_ino_tree() operation to build_agi().

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