diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-map.c b/block/blk-map.c index 955d75c1a58f..bc5ce60691c3 100644 --- a/block/blk-map.c +++ b/block/blk-map.c | |||
@@ -143,6 +143,7 @@ int blk_rq_map_user(struct request_queue *q, struct request *rq, | |||
143 | return 0; | 143 | return 0; |
144 | unmap_rq: | 144 | unmap_rq: |
145 | blk_rq_unmap_user(bio); | 145 | blk_rq_unmap_user(bio); |
146 | rq->bio = NULL; | ||
146 | return ret; | 147 | return ret; |
147 | } | 148 | } |
148 | EXPORT_SYMBOL(blk_rq_map_user); | 149 | EXPORT_SYMBOL(blk_rq_map_user); |