summaryrefslogtreecommitdiff
path: root/fs/bcachefs/fs.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-22 00:46:45 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-10 22:34:08 +0300
commit7f76b08acac4b41bd4bf1670470dd0770d61d0b9 (patch)
tree31a20a145100ee982b3b9a2700ff13731f1d8563 /fs/bcachefs/fs.c
parent5f43b0134e40bd798ba0999a11e90f24a0c65a51 (diff)
downloadlinux-7f76b08acac4b41bd4bf1670470dd0770d61d0b9.tar.xz
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs.c')
0 files changed, 0 insertions, 0 deletions