• A
    rbd: return obj version in __rbd_refresh_header() · b813623a
    Alex Elder 提交于
    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: NAlex Elder <elder@inktank.com>
    Reviewed-by: Josh Durgin <josh.durgin@inktank.com> 
    b813623a
rbd.c 61.0 KB