rbd: tear down watch request if rbd_dev_device_setup() fails
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 16 Dec 2013 16:02:41 +0000 (18:02 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 31 Dec 2013 18:32:07 +0000 (20:32 +0200)
commite37180c0f2f0c5b21e9295d5b19874ff4a659be1
treeba318894322eba99e4351982938c391ece65acdc
parentfca270653909404112ea5f6eed274ed5272d5252
rbd: tear down watch request if rbd_dev_device_setup() fails

Tear down watch request if rbd_dev_device_setup() fails.

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