engine: fix error handling for e4defrag/falloc
authorDmitry Monakhov <dmonakhov@openvz.org>
Sun, 23 Sep 2012 17:49:53 +0000 (21:49 +0400)
committerJens Axboe <axboe@kernel.dk>
Sun, 23 Sep 2012 18:33:27 +0000 (20:33 +0200)
commite12d2800f811cb64d376cfdaed9a1257f3fa9c99
tree8b9be2eb5f58ed6a7d886eae23f0ec41efab4397
parent8b28bd41375930664a0ff9ff9b101a88ac416ac5
engine: fix error handling for e4defrag/falloc

At the time I've wrote this code i don't quite understand difference
between td->error and io_u->error. It is appeared that engine should
not have to explicitly assign td->error. Just initialize io_u->error and
backed will do proper handling.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/e4defrag.c
engines/falloc.c