linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] replace comments for bvl_vec with bio_vec
@ 2018-06-15 11:15 Gioh Kim
  0 siblings, 0 replies; only message in thread
From: Gioh Kim @ 2018-06-15 11:15 UTC (permalink / raw)
  To: linux-kernel, linux-block; +Cc: Gioh Kim

I think bvl_vec means bio_vec_list that was replaced with bio_vec
long time ago. If I am correct, I think some comments for blk_vec
need to be replaced with bio_vec.

Signed-off-by: Gioh Kim <gi-oh.kim@profitbricks.com>
---
 include/linux/blk_types.h | 2 +-
 include/linux/bvec.h      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 3c4f390aea4b..a39dc0a665b9 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -196,7 +196,7 @@ struct bio {
 	 * Everything starting with bi_max_vecs will be preserved by bio_reset()
 	 */
 
-	unsigned short		bi_max_vecs;	/* max bvl_vecs we can hold */
+	unsigned short		bi_max_vecs;	/* max bio_vecs we can hold */
 
 	atomic_t		__bi_cnt;	/* pin count */
 
diff --git a/include/linux/bvec.h b/include/linux/bvec.h
index fe7a22dd133b..6023dc9e6f79 100644
--- a/include/linux/bvec.h
+++ b/include/linux/bvec.h
@@ -38,7 +38,7 @@ struct bvec_iter {
 						   sectors */
 	unsigned int		bi_size;	/* residual I/O count */
 
-	unsigned int		bi_idx;		/* current index into bvl_vec */
+	unsigned int		bi_idx;		/* current index into bio_vec */
 
 	unsigned int            bi_done;	/* number of bytes completed */
 
-- 
2.14.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-15 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-15 11:15 [RFC] replace comments for bvl_vec with bio_vec Gioh Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).