commit | 8e5cfc45e7527eb5c8a9a22d56a7b9227e7c0913 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Dec 19 11:12:46 2006 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Dec 19 11:12:46 2006 +0100 |
tree | 7be7c45168af77518bd6a47601e2f9e31b967dba | |
parent | 48785bb9fa39415d7553e234946442579dfcf591 [diff] |
[PATCH] Fixup blk_rq_unmap_user() API The blk_rq_unmap_user() API is not very nice. It expects the caller to know that rq->bio has to be reset to the original bio, and it will silently do nothing if that is not done. Instead make it explicit that we need to pass in the first bio, by expecting a bio argument. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>