diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-10-19 15:52:58 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-10-25 09:31:15 +0300 |
commit | 6c2838fbdedb9b72a81c931d49e56b229b6cdbca (patch) | |
tree | ee717ca5689cc898b7d7e9ac07739067dae2bf61 /samples/sockmap | |
parent | bb176f67090ca54869fc1262c913aa69d2ede070 (diff) | |
download | linux-6c2838fbdedb9b72a81c931d49e56b229b6cdbca.tar.xz |
ceph: unlock dangling spinlock in try_flush_caps()
sparse warns:
fs/ceph/caps.c:2042:9: warning: context imbalance in 'try_flush_caps' - wrong count at exit
We need to exit this function with the lock unlocked, but a couple of
cases leave it locked.
Cc: stable@vger.kernel.org
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'samples/sockmap')
0 files changed, 0 insertions, 0 deletions