rbd: move locking out of rbd_header_set_snap()
Move the calls to get the header semaphore out of rbd_header_set_snap() and into its caller. Signed-off-by: NAlex Elder <elder@inktank.com> Reviewed-by: NJosh Durgin <josh.durgin@inktank.com>
Showing
想要评论请 注册 或 登录