]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
block: Update comments that refer to __bio_map_user() and bio_map_user()
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 1 Feb 2017 16:20:08 +0000 (08:20 -0800)
committerJens Axboe <axboe@fb.com>
Wed, 1 Feb 2017 19:32:29 +0000 (12:32 -0700)
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>
block/bio.c

index 2b375020fc49bab0bfcabda4fc3d16118b5f1512..d3c26d1cb1dac62ef8540e101ef6da951dcaa089 100644 (file)
@@ -1403,7 +1403,7 @@ struct bio *bio_map_user_iov(struct request_queue *q,
        bio_set_flag(bio, BIO_USER_MAPPED);
 
        /*
-        * subtle -- if __bio_map_user() ended up bouncing a bio,
+        * subtle -- if bio_map_user_iov() ended up bouncing a bio,
         * it would normally disappear when its bi_end_io is run.
         * however, we need it for the unmap, so grab an extra
         * reference to it
@@ -1445,8 +1445,8 @@ static void __bio_unmap_user(struct bio *bio)
  *     bio_unmap_user  -       unmap a bio
  *     @bio:           the bio being unmapped
  *
- *     Unmap a bio previously mapped by bio_map_user(). Must be called with
- *     process context.
+ *     Unmap a bio previously mapped by bio_map_user_iov(). Must be called from
+ *     process context.
  *
  *     bio_unmap_user() may sleep.
  */