• Kent Overstreet's avatar
    bcachefs: Subvol dirents are now only visible in parent subvol · 4db65027
    Kent Overstreet authored
    This changes the on disk format for dirents that point to subvols so
    that they also record the subvolid of the parent subvol, so that we can
    filter them out in other subvolumes.
    
    This also updates the dirent code to do that filtering, and in
    particular tweaks the rename code - we need to ensure that there's only
    ever one dirent (counting multiplicities in different snapshots) that
    point to a subvolume.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
    4db65027
recovery.c 36 KB