Hi all, These are all the patches that I needed to port from the patchset that backports various online fsck things to offline fsck so that I can start writing offline fsck for parent pointers and directories. IOWS, we're blatantly copying things from the online repair part 1 megaseries; this is what online repair part 2 requires. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=pptrs-online-fsck-backports xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pptrs-online-fsck-backports --- configure.ac | 3 + db/attr.c | 2 db/metadump.c | 2 include/builddefs.in | 3 + libxfs/Makefile | 14 +++ libxfs/libxfs_api_defs.h | 1 libxfs/xfblob.c | 148 +++++++++++++++++++++++++++++ libxfs/xfblob.h | 25 +++++ libxfs/xfile.c | 235 ++++++++++++++++++++++++++++++++++++++++++++++ libxfs/xfile.h | 57 +++++++++++ libxfs/xfs_dir2.c | 6 + libxfs/xfs_dir2.h | 1 m4/package_libcdev.m4 | 50 ++++++++++ repair/attr_repair.c | 6 + repair/phase6.c | 4 - repair/xfs_repair.c | 15 +++ 16 files changed, 563 insertions(+), 9 deletions(-) create mode 100644 libxfs/xfblob.c create mode 100644 libxfs/xfblob.h create mode 100644 libxfs/xfile.c create mode 100644 libxfs/xfile.h