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

joern at infradead.org joern at infradead.org
Fri May 20 11:50:47 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:
Next bugfix.



Index: ramtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/ramtd.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ramtd.c	20 May 2005 15:08:21 -0000	1.4
+++ ramtd.c	20 May 2005 15:50:43 -0000	1.5
@@ -52,7 +52,7 @@
 		u32 page = addr / PAGE_SIZE;
 
 		down_interruptible(&ramtd_mutex);
-		kfree(ramtd->page[page]);
+		free_pool_page(ramtd->page[page]);
 		ramtd->page[page] = NULL;
 		up(&ramtd_mutex);
 





More information about the linux-mtd-cvs mailing list