aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2009-02-02 12:41:07 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-02-02 12:41:07 +0100
commit20b636bf7c946da260391cd4570b16506f140a2c (patch)
tree457d7229ff04ad7b6d60bcea4645c45f7dd38c53 /include/linux/bio.h
parentblock: fix inconsistent parenthesisation of QUEUE_FLAG_DEFAULT (diff)
downloadlinux-dev-20b636bf7c946da260391cd4570b16506f140a2c.tar.xz
linux-dev-20b636bf7c946da260391cd4570b16506f140a2c.zip
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>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r--include/linux/bio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index 0942765cf8c0..99728320cc05 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -451,8 +451,8 @@ extern struct biovec_slab bvec_slabs[BIOVEC_NR_POOLS] __read_mostly;
#ifdef CONFIG_HIGHMEM
/*
- * remember to add offset! and never ever reenable interrupts between a
- * bvec_kmap_irq and bvec_kunmap_irq!!
+ * remember never ever reenable interrupts between a bvec_kmap_irq and
+ * bvec_kunmap_irq!
*
* This function MUST be inlined - it plays with the CPU interrupt flags.
*/