Skip to content

Commit 20b636b

Browse files
albertitoJens Axboe
authored andcommitted
Fix misleading comment in bio.h
The comment says "remember to add offset!", but the function already adds it. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
1 parent 0648e10 commit 20b636b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/bio.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ extern struct biovec_slab bvec_slabs[BIOVEC_NR_POOLS] __read_mostly;
451451

452452
#ifdef CONFIG_HIGHMEM
453453
/*
454-
* remember to add offset! and never ever reenable interrupts between a
455-
* bvec_kmap_irq and bvec_kunmap_irq!!
454+
* remember never ever reenable interrupts between a bvec_kmap_irq and
455+
* bvec_kunmap_irq!
456456
*
457457
* This function MUST be inlined - it plays with the CPU interrupt flags.
458458
*/

0 commit comments

Comments
 (0)