From: Alex Elder Date: Wed, 25 Jul 2012 14:32:41 +0000 (-0500) Subject: rbd: return obj version in __rbd_refresh_header() X-Git-Tag: v3.6-rc1~36^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b813623ab95d0b4bbeb22e160bd5461965d0c571;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed