]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: move object_map_lock acquisition into refresh()
authorJosh Durgin <jdurgin@redhat.com>
Thu, 26 Feb 2015 01:02:42 +0000 (17:02 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 26 Feb 2015 01:40:25 +0000 (17:40 -0800)
commit1f9782ea3c280318587284548573f3fa601eb1a9
treefd49729b56128348fd669efed9cb7e0c8ba3e7e5
parent27e5ae603b5be34ea02797f7a6a1c9fb220668c0
librbd: move object_map_lock acquisition into refresh()

Every caller was acquiring this just for these calls.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/librbd/ImageCtx.cc
src/librbd/ImageWatcher.cc
src/librbd/ObjectMap.cc
src/librbd/internal.cc