aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/rbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
index 612e4aecfa7f..99de7166bf89 100644
--- 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)
934 struct rbd_client *rbdc; 934 struct rbd_client *rbdc;
935 int ret; 935 int ret;
936 936
937 mutex_lock_nested(&client_mutex, SINGLE_DEPTH_NESTING); 937 mutex_lock(&client_mutex);
938 rbdc = rbd_client_find(ceph_opts); 938 rbdc = rbd_client_find(ceph_opts);
939 if (rbdc) { 939 if (rbdc) {
940 ceph_destroy_options(ceph_opts); 940 ceph_destroy_options(ceph_opts);