projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ddc61f
)
rbd: client_mutex is never nested
author
Ilya Dryomov
<idryomov@gmail.com>
Thu, 2 May 2019 13:56:00 +0000
(15:56 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Tue, 7 May 2019 17:43:04 +0000
(19:43 +0200)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c
patch
|
blob
|
history
diff --git
a/drivers/block/rbd.c
b/drivers/block/rbd.c
index 612e4aecfa7f6e374e25e84774a136d71639fa2a..99de7166bf89bde06409a093961a30f107cee21e 100644
(file)
--- a/
drivers/block/rbd.c
+++ b/
drivers/block/rbd.c
@@
-934,7
+934,7
@@
static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts)
struct rbd_client *rbdc;
int ret;
- mutex_lock
_nested(&client_mutex, SINGLE_DEPTH_NESTING
);
+ mutex_lock
(&client_mutex
);
rbdc = rbd_client_find(ceph_opts);
if (rbdc) {
ceph_destroy_options(ceph_opts);