diff options
author | Alex Elder <[email protected]> | 2012-01-29 13:57:44 -0600 |
---|---|---|
committer | Alex Elder <[email protected]> | 2012-03-22 10:47:47 -0500 |
commit | d97081b0c7bdb55371994cc6690217bf393eb63e (patch) | |
tree | a520fd2d821202175749fc9a0dd9b1b4a1fa2ac8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e6994d3ddedf1a9f35cb43655bb4b5810e71199a (diff) |
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 <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions