aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2022-06-03 16:39:57 -0400
committerIlya Dryomov <idryomov@gmail.com>2022-08-03 00:54:12 +0200
commit58dd4385577ed7969b80cdc9e2a31575aba6c712 (patch)
tree93d2fb4eaff76211891d889187345e6a9029e8c1 /include
parentceph: prevent a client from exceeding the MDS maximum xattr size (diff)
downloadlinux-dev-58dd4385577ed7969b80cdc9e2a31575aba6c712.tar.xz
linux-dev-58dd4385577ed7969b80cdc9e2a31575aba6c712.zip
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 'include')
0 files changed, 0 insertions, 0 deletions