commit | 4bb1f1ed0063870f34ae5783cda08924964bac0b | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Aug 23 23:48:49 2012 -0500 |
committer | Alex Elder <elder@inktank.com> | Mon Oct 01 14:30:51 2012 -0500 |
tree | d4e2ce70d02b0bffb08a31da4f55e08237c16f99 | |
parent | 1fcdb8aa1f58af72eb8206ba97fab2df77df2b14 [diff] |
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: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>