aboutsummaryrefslogtreecommitdiff
path: root/mm/frontswap.c
diff options
context:
space:
mode:
authorAlex Elder2013-02-15 11:42:29 -0600
committerAlex Elder2013-02-18 12:19:44 -0600
commitf9d251994522fed06f47855b534f21c07ecf7181 (patch)
tree23ecc17b43486c5889306d46adc2718d82754a5a /mm/frontswap.c
parenta3bea47e8bdd51d921e5b2045720d60140612c7c (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