Commit b3981564 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 63c3b8f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment