commit | 907703d050df92979b3848ee42f88d5c9c6c13fe | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Tue Nov 13 21:11:15 2012 -0600 |
committer | Alex Elder <elder@inktank.com> | Thu Jan 17 16:34:58 2013 -0600 |
tree | f8afc0441dcbb856b3c9d2df6f0c11e456aecaba | |
parent | 0903e875caa93e1fb231dd66c69b118dbdad25cb [diff] |
rbd: combine rbd sync watch/unwatch functions The rbd_req_sync_watch() and rbd_req_sync_unwatch() functions are nearly identical. Combine them into a single function with a flag indicating whether a watch is to be initiated or torn down. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>