Hi all, This series moves the parent pointer library code out of libhandle and into libfrog. This is necessary because libhandle is exported as a userspace library, and we don't want to export the parent pointer stuff until we're absolutely ready to do that. So that move is made in the first patch. The rest of the patchset fixes various bugs and inconsistencies and bitrot that have cropped up since I wrote this code in 2017. 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. xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pptrs-fix-libfrog-code --- include/parent.h | 25 ------ io/parent.c | 117 +++++++++++++++++----------- libfrog/Makefile | 2 libfrog/paths.c | 46 +++++++++-- libfrog/paths.h | 8 +- libfrog/pptrs.c | 217 ++++++++++++++++++++++------------------------------ libfrog/pptrs.h | 25 ++++++ libhandle/Makefile | 2 8 files changed, 237 insertions(+), 205 deletions(-) rename libhandle/parent.c => libfrog/pptrs.c (50%) create mode 100644 libfrog/pptrs.h