The pdir argument here is actually a side-effect of lfs_dir_relocatingcommit. It contains the previous mdir in the dir's linked-list if the mdir needs to be dropped (mdir.count=0, LFS_OK_DROPPED). We need to find the pdir in lfs_dir_relocatingcommit to determine how to update the ...