From: Alex Elder Date: Wed, 14 Nov 2012 03:11:15 +0000 (-0600) Subject: rbd: combine rbd sync watch/unwatch functions X-Git-Tag: v3.9-rc1~41^2~21^2~59^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=907703d050df92979b3848ee42f88d5c9c6c13fe;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed