]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
block: make blk_rq_map_user() clear ->bio if it unmaps it
authorJens Axboe <jens.axboe@oracle.com>
Mon, 18 Feb 2008 12:51:56 +0000 (13:51 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 Feb 2008 09:04:00 +0000 (10:04 +0100)
That way the interface is symmetric, and calling blk_rq_unmap_user()
on the request wont oops.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found