rbd: introduce rbd_dev_header_unwatch_sync() and switch to it
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 16 Dec 2013 16:02:40 +0000 (18:02 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 31 Dec 2013 18:32:06 +0000 (20:32 +0200)
commitfca270653909404112ea5f6eed274ed5272d5252
treefc9a6ce6b4e0575171c71179e48061cfacdb62da
parent527a88b9ef287a5c77f016a0090e0bd5338325b1
rbd: introduce rbd_dev_header_unwatch_sync() and switch to it

Rename rbd_dev_header_watch_sync() to __rbd_dev_header_watch_sync() and
introduce two helpers: rbd_dev_header_{,un}watch_sync() to make it more
clear what is going on.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c