rbd: fix cleanup when trying to mount inexistent image
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 7 Jan 2011 22:58:42 +0000 (14:58 -0800)
committerSage Weil <sage@newdream.net>
Wed, 12 Jan 2011 23:15:18 +0000 (15:15 -0800)
commit766fc43973b16f9becb6b7402b3e052dbb84adee
tree47a0b50d6fd7fac744a69dbeaf78e80e3d17fc7b
parentf363e45fd1184219b472ea549cb7e192e24ef4d2
rbd: fix cleanup when trying to mount inexistent image

Previously we didn't clean up the sysfs entry that was just
created.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
drivers/block/rbd.c