summaryrefslogtreecommitdiff
path: root/drivers/idle
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-08-10 13:12:07 -0700
committerAlex Elder <elder@inktank.com>2012-10-01 14:30:49 -0500
commit1f7ba3311530993801d6877889efff0382bcd641 (patch)
treeddc5c41d5d572933ef4a4f5dcd36138f069c5bc9 /drivers/idle
parentcc4829e5967de577794b25dfcd1a65e509d171ed (diff)
rbd: handle locking inside __rbd_client_find()
There is only caller of __rbd_client_find(), and it somewhat clumsily gets the appropriate lock and gets a reference to the existing ceph_client structure if it's found. Instead, have that function handle its own locking, and acquire the reference if found while it holds the lock. Drop the underscores from the name because there's no need to signify anything special about this function. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions