aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-01-29 13:57:44 -0600
committerAlex Elder <elder@dreamhost.com>2012-03-22 10:47:47 -0500
commitd97081b0c7bdb55371994cc6690217bf393eb63e (patch)
treea520fd2d821202175749fc9a0dd9b1b4a1fa2ac8 /lib/dma-debug.c
parentrbd: release client list lock sooner (diff)
downloadlinux-rng-d97081b0c7bdb55371994cc6690217bf393eb63e.tar.xz
linux-rng-d97081b0c7bdb55371994cc6690217bf393eb63e.zip
rbd: move ctl_mutex lock inside rbd_get_client()
Since rbd_get_client() is only called in one place, move the acquisition of the mutex around that call inside that function. Furthermore, within rbd_get_client(), it appears the mutex only needs to be held while calling rbd_client_create(). (Moving the lock inside that function will wait for the next patch.) Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions