Re: [PATCH] 5/5: Device-mapper: dm-zero

From: Christophe Saout
Date: Wed Jun 02 2004 - 11:29:37 EST


Am Mi, den 02.06.2004 um 18:17 Uhr +0200 schrieb Christophe Saout:

> What does this & PAGE_MASK do? This looks wrong too.

Sorry, please forget this.


--- linux.orig/drivers/md/dm-zero.c 2004-06-02 18:24:38.231186664 +0200
+++ linux/drivers/ms/dm-zero.c 2004-06-02 18:24:55.645539280 +0200
@@ -35,7 +35,8 @@
bio_for_each_segment(bv, bio, i) {
char *data = bvec_kmap_irq(bv, &flags);
memset(data, 0, bv->bv_len);
- bvec_kunmap_irq(bv, &flags);
+ flush_dcache_page(bv->bv_page);
+ bvec_kunmap_irq(data, &flags);
}
}


Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil