Commit 48785bb9 authored by Jens Axboe's avatar Jens Axboe
Browse files

[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: default avatarJens Axboe <jens.axboe@oracle.com>
parent 9c9381f9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment