diff options
author | Alex Elder | 2013-02-15 11:42:29 -0600 |
---|---|---|
committer | Alex Elder | 2013-02-18 12:19:44 -0600 |
commit | f9d251994522fed06f47855b534f21c07ecf7181 (patch) | |
tree | 23ecc17b43486c5889306d46adc2718d82754a5a /mm/frontswap.c | |
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>
Diffstat (limited to 'mm/frontswap.c')
0 files changed, 0 insertions, 0 deletions