summaryrefslogtreecommitdiffstats
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
parent0648e10d71c8e510d80772c4cb4220c97e9c34c7 (diff)
downloadop-kernel-dev-20b636bf7c946da260391cd4570b16506f140a2c.zip
op-kernel-dev-20b636bf7c946da260391cd4570b16506f140a2c.tar.gz
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 0942765..9972832 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.
*/
OpenPOWER on IntegriCloud