]> www.infradead.org Git - users/hch/xfsprogs.git/commit
db: add finobt support to metadump
authorBrian Foster <bfoster@redhat.com>
Mon, 26 May 2014 23:07:36 +0000 (09:07 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 26 May 2014 23:07:36 +0000 (09:07 +1000)
commit03e956b25243bf4aac034275f89a0f3f2712b79a
tree74e2f93b032cd9ae72a34ef07ec72b352db952e0
parent050643888a844c0532dbda080ed963ec6b1317ad
db: add finobt support to metadump

Include the free inode btree in metadump images. If the source fs
is finobt-enabled, run an additional scan_btree() of the finobt.
Since the private 'agi' scanfunc_ino() parameter is unused, change
the private parameter to a flag that indicates whether the current
scan is for the inobt or finobt. If the latter, we skip copying the
actual inode chunks as this work is already performed by the inobt
scan.

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