mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
bch2_ioctl_subvolume_destroy(): fix locking
commit bbe6a7c899 upstream.
make it use user_path_locked_at() to get the normal directory protection
for modifications, as well as stable ->d_parent and ->d_name in victim
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9b9a2f1a67
commit
dc610c441b
1 changed files with 17 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue