Commit 7f76b08a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Subvolumes may now be renamed



Files within a subvolume cannot be renamed into another subvolume, but
subvolumes themselves were intended to be.

This implements subvolume renaming - we need to ensure that there's only
a single dirent that points to a subvolume key (not multiple versions in
different snapshots), and we need to ensure that dirent.d_parent_subol
and inode.bi_parent_subvol are updated.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 5f43b013
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment