aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-02-01 11:20:08 -0500
committerJens Axboe <axboe@fb.com>2017-02-01 14:32:29 -0500
commit5fad1b64aed8bd63ca7da2ba92107ba9ecd9a2c8 (patch)
tree90eb2c3d1e7e0aadecfe204547580ef298ae68cc
parent12d70958a2e8d587acaa51dafd5d6620e00b7543 (diff)
block: Update comments that refer to __bio_map_user() and bio_map_user()
Since __bio_map_user() and bio_map_user() have been removed, update the comments that still refer to these functions. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> References: commit ddad8dd0a162 ("block: use blk_rq_map_user_iov to implement blk_rq_map_user") Cc: Ming Lei <tom.leiming@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--block/bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/block/bio.c b/block/bio.c
index 2b375020fc49..d3c26d1cb1da 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -1403,7 +1403,7 @@ struct bio *bio_map_user_iov(struct request_queue *q,
1403 bio_set_flag(bio, BIO_USER_MAPPED); 1403 bio_set_flag(bio, BIO_USER_MAPPED);
1404 1404
1405 /* 1405 /*
1406 * subtle -- if __bio_map_user() ended up bouncing a bio, 1406 * subtle -- if bio_map_user_iov() ended up bouncing a bio,
1407 * it would normally disappear when its bi_end_io is run. 1407 * it would normally disappear when its bi_end_io is run.
1408 * however, we need it for the unmap, so grab an extra 1408 * however, we need it for the unmap, so grab an extra
1409 * reference to it 1409 * reference to it
@@ -1445,8 +1445,8 @@ static void __bio_unmap_user(struct bio *bio)
1445 * bio_unmap_user - unmap a bio 1445 * bio_unmap_user - unmap a bio
1446 * @bio: the bio being unmapped 1446 * @bio: the bio being unmapped
1447 * 1447 *
1448 * Unmap a bio previously mapped by bio_map_user(). Must be called with 1448 * Unmap a bio previously mapped by bio_map_user_iov(). Must be called from
1449 * a process context. 1449 * process context.
1450 * 1450 *
1451 * bio_unmap_user() may sleep. 1451 * bio_unmap_user() may sleep.
1452 */ 1452 */