mtd/drivers/mtd/devices ramtd.c,1.3,1.4

joern at infradead.org joern at infradead.org
Fri May 20 11:08:24 EDT 2005


Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/home/joern/mtd/drivers/mtd/devices

Modified Files:
	ramtd.c 
Log Message:
Bugfix.



Index: ramtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/ramtd.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ramtd.c	20 May 2005 14:45:34 -0000	1.3
+++ ramtd.c	20 May 2005 15:08:21 -0000	1.4
@@ -118,7 +118,7 @@
 
 		down_interruptible(&ramtd_mutex);
 		if (!ramtd->page[page]) {
-			ramtd->page[page] = get_pool_page;
+			ramtd->page[page] = get_pool_page();
 			memset(ramtd->page[page], 0xff, PAGE_SIZE);
 		}
 		if (!ramtd->page[page])





More information about the linux-mtd-cvs mailing list