aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorGuoyu Ou <[email protected]>2024-01-28 08:46:17 +0000
committerKent Overstreet <[email protected]>2024-01-29 02:41:09 +0000
commit6bb3f7f4c3f4da8e09de188f2f63e8f741bba3bd (patch)
tree277e3ed77f266e3cc04b6f78f4ee9680113b14d3 /drivers/fpga/tests/fpga-mgr-test.c
parentbcachefs: Fix build on parisc by avoiding __multi3() (diff)
downloadkernel-6bb3f7f4c3f4da8e09de188f2f63e8f741bba3bd.tar.gz
kernel-6bb3f7f4c3f4da8e09de188f2f63e8f741bba3bd.zip
bcachefs: unlock parent dir if entry is not found in subvolume deletion
Parent dir is locked by user_path_locked_at() before validating the required dentry. It should be unlocked if we can not perform the deletion. This fixes the problem: $ bcachefs subvolume delete not-exist-entry BCH_IOCTL_SUBVOLUME_DESTROY ioctl error: No such file or directory $ bcachefs subvolume delete not-exist-entry the second will stuck because the parent dir is locked in the previous deletion. Signed-off-by: Guoyu Ou <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions