commit | f9d251994522fed06f47855b534f21c07ecf7181 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Fri Feb 15 11:42:29 2013 -0600 |
committer | Alex Elder <elder@inktank.com> | Mon Feb 18 12:19:44 2013 -0600 |
tree | 23ecc17b43486c5889306d46adc2718d82754a5a | |
parent | a3bea47e8bdd51d921e5b2045720d60140612c7c [diff] |
libceph: lock outside send_queued() Two of the three callers of the osd client's send_queued() function already hold the osd client mutex and drop it before the call. Change send_queued() so it assumes the caller holds the mutex, and update all callers accordingly. Rename it __send_queued() to match the convention used elsewhere in the file with respect to the lock. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>