blktrace: perform cleanup after setup error
authorDmitry Monakhov <dmonakhov@openvz.org>
Sat, 27 Feb 2010 17:35:13 +0000 (20:35 +0300)
committerJens Axboe <jens.axboe@oracle.com>
Sun, 28 Feb 2010 18:47:19 +0000 (19:47 +0100)
Currently even if BLKTRACESETUP ioctl has failed user must call
BLKTRACETEARDOWN to be shure what all staff was cleaned, which
is contr-intuitive.
Let's setup ioctl make necessery cleanup by it self.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found