]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: move ctl_mutex lock inside rbd_client_create()
authorAlex Elder <elder@dreamhost.com>
Sun, 29 Jan 2012 19:57:44 +0000 (13:57 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:47 +0000 (10:47 -0500)
commit75102def10d686710c999f5d3a204f9ca1a96aa3
tree196d43864c2c1033b30d4ae03cb946793cf29b19
parent1aa48e2949f363d6104e4611e578d6bec5355ab0
rbd: move ctl_mutex lock inside rbd_client_create()

Since rbd_client_create() is only called in one place, move the
acquisition of the mutex around that call inside that function.

Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
drivers/block/rbd.c