summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-07-25 16:32:41 +0200
committerSage Weil <sage@inktank.com>2012-07-31 03:21:46 +0200
commitb813623ab95d0b4bbeb22e160bd5461965d0c571 (patch)
treea40f3cc64c62b7ab643167a72c2789b7561b06b8 /net/ceph
parentrbd: fixes in rbd_header_from_disk() (diff)
downloadlinux-b813623ab95d0b4bbeb22e160bd5461965d0c571.tar.xz
linux-b813623ab95d0b4bbeb22e160bd5461965d0c571.zip
rbd: return obj version in __rbd_refresh_header()
Add a new parameter to __rbd_refresh_header() through which the version of the header object is passed back to the caller. In most cases this isn't needed. The main motivation is to normalize (almost) all calls to __rbd_refresh_header() so they are all wrapped immediately by mutex_lock()/mutex_unlock(). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions