mtd/drivers/mtd/nand nand_base.c,1.93,1.94

gleixner at infradead.org gleixner at infradead.org
Fri May 28 19:54:01 EDT 2004


Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv30908

Modified Files:
	nand_base.c 
Log Message:
Fix the ugly typo / thinko. Signed-off-by: Thomas Gleixner <tglx at linutronix.de>

Index: nand_base.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand_base.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- nand_base.c	28 May 2004 23:01:50 -0000	1.93
+++ nand_base.c	28 May 2004 23:53:58 -0000	1.94
@@ -2000,7 +2000,7 @@
 		
 		/* Invalidate the page cache, if we erase the block which contains 
 		   the current cached page */
-		if (page >= this->pagebuf && this->pagebuf < (page + pages_per_block))
+		if (page <= this->pagebuf && this->pagebuf < (page + pages_per_block))
 			this->pagebuf = -1;
 
 		this->erase_cmd (mtd, page & this->pagemask);





More information about the linux-mtd-cvs mailing list