]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: bch2_ioctl_subvolume_destroy() fixes
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 29 Mar 2025 23:01:09 +0000 (19:01 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 30 Mar 2025 20:33:22 +0000 (16:33 -0400)
commit707549600c4a012ed71c0204a7992a679880bf33
tree5ef1e20698e5473e96ac087efaab6e7139c01acd
parentb3981564ca8fa341a57c16dcbed1a9bd7f4e3be1
bcachefs: bch2_ioctl_subvolume_destroy() fixes

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>
fs/bcachefs/fs-ioctl.c