]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: move common dir2 and attr_repair code to da_util.c
authorEric Sandeen <sandeen@sandeen.net>
Tue, 13 Oct 2015 23:33:07 +0000 (10:33 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 13 Oct 2015 23:33:07 +0000 (10:33 +1100)
commit360f4a2e9e9acaea012a128f3710c6e7f64a8c61
treee49980de9cfd8c7762ebe8e58b304302bde37810
parente315cdfcbf3a737a4772479954976a886aa73c79
xfs_repair: move common dir2 and attr_repair code to da_util.c

Now that dir2.c and attr_repair.c are functionally identical,
move the duplicate code into a new file da_util.c, with da_util.h
as a header file for the common functions.

Last step will be to fix up comments and printfs' to be appropriate
for code that checks both dirs and attrs.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
repair/Makefile
repair/attr_repair.c
repair/da_util.c [new file with mode: 0644]
repair/da_util.h [new file with mode: 0644]
repair/dir2.c
repair/dir2.h