[PATCH] __blk_rq_unmap_user() fails to return error
authorJens Axboe <jens.axboe@oracle.com>
Tue, 19 Dec 2006 10:07:59 +0000 (11:07 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 Dec 2006 10:07:59 +0000 (11:07 +0100)
commit48785bb9fa39415d7553e234946442579dfcf591
tree2f22a34dbc334daade0962a119b2b42795715df8
parent9c9381f9425ab4d2f9f0458ae9525c18bc832f59
[PATCH] __blk_rq_unmap_user() fails to return error

If the bio is user copied, the copy back could return -EFAULT. Make
sure we return any error seen during unmapping.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c