]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - repair/phase6.c
xfs_repair: convert directory parsing to use libxfs structure
authorDave Chinner <david@fromorbit.com>
Fri, 7 Jun 2013 00:25:58 +0000 (10:25 +1000)
committerBen Myers <bpm@sgi.com>
Tue, 6 Aug 2013 20:43:29 +0000 (15:43 -0500)
commita354abc8ce205dc930943948567b1acc39bae530
treeef28321b6188a2099b14f5e691a7a1cd1c49ffaf
parenta364668b8d9cf90c3e623712d72bfe99f1691869
xfs_repair: convert directory parsing to use libxfs structure

It turns out that xfs_repair copies xfs_db in rolling it's own
opaque directory types for the different block formats. It has a
little comment about how they are "shared" with xfs_db. Shared by
copy and pasting, rather than a common header, it would appear.

Anyway, same problems, need to use format aware definitions and
abstractions from libxfs so that everything is parsed properly.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
repair/dir2.c
repair/dir2.h
repair/phase6.c