summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-30 00:59:50 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-30 03:16:49 +0300
commitb3981564ca8fa341a57c16dcbed1a9bd7f4e3be1 (patch)
tree5714ac2f5fa81aedcd04212e058d8a34f76ab5e1 /lib/string_helpers.c
parent63c3b8f616cc95bb1fcc6101c92485d41c535d7c (diff)
downloadlinux-b3981564ca8fa341a57c16dcbed1a9bd7f4e3be1.tar.xz
bcachefs: Clear fs_path_parent on subvolume unlink
This fixes recursive subvolume removal. Subvolume deletion is asynchronous; fs_path_parent, and thus the entry in the subvolume_children btree, need to be cleared when the subvolume is unlinked from the fs heirarchy - else we'll spuriously think a subvolume has children and deletion will fail. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions