summaryrefslogtreecommitdiff
path: root/scripts/export_report.pl
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2022-06-03 23:39:57 +0300
committerIlya Dryomov <idryomov@gmail.com>2022-08-03 01:54:12 +0300
commit58dd4385577ed7969b80cdc9e2a31575aba6c712 (patch)
tree93d2fb4eaff76211891d889187345e6a9029e8c1 /scripts/export_report.pl
parentd93231a6bc8a452323d5fef16cca7107ce483a27 (diff)
downloadlinux-58dd4385577ed7969b80cdc9e2a31575aba6c712.tar.xz
ceph: don't leak snap_rwsem in handle_cap_grant
When handle_cap_grant is called on an IMPORT op, then the snap_rwsem is held and the function is expected to release it before returning. It currently fails to do that in all cases which could lead to a deadlock. Fixes: 6f05b30ea063 ("ceph: reset i_requested_max_size if file write is not wanted") Link: https://tracker.ceph.com/issues/55857 Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Luís Henriques <lhenriques@suse.de> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/export_report.pl')
0 files changed, 0 insertions, 0 deletions