linux/fs/bcachefs/fs-ioctl.c
Kent Overstreet 9e6e83e1e2 bcachefs: bch2_ioctl_subvolume_destroy() fixes
[ Upstream commit 707549600c ]

bch2_evict_subvolume_inodes() was getting stuck - due to incorrectly
pruning the dcache.

Also, fix missing permissions checks.

Reported-by: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-07 10:08:37 +02:00

636 lines
14 KiB