Wu Bo
1de356b13c
ceph: fix double unlock in handle_cap_export()
...
[ Upstream commit 4d8e28ff3106b093d98bfd2eceb9b430c70a8758 ]
If the ceph_mdsc_open_export_target_session() return fails, it will
do a "goto retry", but the session mutex has already been unlocked.
Re-lock the mutex in that case to ensure that we don't unlock it
twice.
Signed-off-by: Wu Bo <wubo40@huawei.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-27 16:41:48 +02:00
..
acl.c
ceph: Propagate dentry down to inode_change_ok()
2016-09-22 10:56:19 +02:00
addr.c
ceph: fix readpage from fscache
2017-09-07 08:35:40 +02:00
cache.c
ceph: fix readpage from fscache
2017-09-07 08:35:40 +02:00
cache.h
ceph: improve fscache revalidation
2016-06-01 10:31:50 +02:00
caps.c
ceph: fix double unlock in handle_cap_export()
2020-05-27 16:41:48 +02:00
ceph_frag.c
debugfs.c
ceph: don't show symlink target in debugfs/mdsc
2016-05-26 01:15:32 +02:00
dir.c
ceph: ensure d_name stability in ceph_dentry_hash()
2019-05-02 09:32:01 +02:00
export.c
ceph: return ceph_mdsc_do_request() errors from __get_parent()
2020-05-02 17:23:03 +02:00
file.c
ceph: only dirty ITER_IOVEC pages for direct read
2018-04-08 12:12:42 +02:00
inode.c
ceph: fix dentry leak in ceph_readdir_prepopulate
2019-11-28 18:28:34 +01:00
ioctl.c
ceph: fix bogus endianness change in ceph_ioctl_set_layout
2017-10-21 17:21:37 +02:00
ioctl.h
ceph: fully initialize new layout
2012-05-16 14:28:27 -05:00
Kconfig
ceph: add acl for cephfs
2013-12-31 20:32:01 +02:00
locks.c
ceph: fix mandatory flock check
2016-10-03 16:13:49 +02:00
Makefile
ceph: add acl for cephfs
2013-12-31 20:32:01 +02:00
mds_client.c
ceph: reconnect connection if session hang in opening state
2019-10-17 13:42:11 -07:00
mds_client.h
ceph: handle CEPH_SESSION_REJECT message
2016-10-03 16:13:50 +02:00
mdsmap.c
ceph: CEPH_FEATURE_MDSENC support
2016-05-26 01:15:31 +02:00
snap.c
ceph: fix ci->i_head_snapc leak
2019-05-02 09:32:01 +02:00
strings.c
ceph: handle CEPH_SESSION_REJECT message
2016-10-03 16:13:50 +02:00
super.c
ceph: canonicalize server path in place
2020-04-13 10:32:57 +02:00
super.h
ceph: canonicalize server path in place
2020-04-13 10:32:57 +02:00
xattr.c
ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
2019-09-10 10:31:02 +01:00