mtd/drivers/mtd/devices blkmtd.c,1.20,1.21 blkmtd-25.c,1.6,NONE

David Woodhouse dwmw2 at infradead.org
Mon Aug 2 05:51:28 EDT 2004


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

Modified Files:
	blkmtd.c 
Removed Files:
	blkmtd-25.c 
Log Message:
Rename blkmtd-25.c to blkmtd.c

Index: blkmtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/blkmtd.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- blkmtd.c	27 Jun 2003 15:10:35 -0000	1.20
+++ blkmtd.c	2 Aug 2004 09:51:25 -0000	1.21
@@ -12,11 +12,8 @@
  * How it works:
  *	The driver uses raw/io to read/write the device and the page
  *	cache to cache access. Writes update the page cache with the
- *	new data and mark it dirty and add the page into a kiobuf.
- *	When the kiobuf becomes full or the next extry is to an earlier
- *	block in the kiobuf then it is flushed to disk. This allows
- *	writes to remained ordered and gives a small and simple outgoing
- *	write cache.
+ *	new data and mark it dirty and add the page into a BIO which
+ *	is then written out.
  *
[...1021 lines suppressed...]
-	blkmtd_proc = create_proc_read_entry("blkmtd_debug", 0444,
-					     NULL, blkmtd_proc_read, NULL);
-	if(blkmtd_proc == NULL) {
-		err("Cant create /proc/blkmtd_debug");
-	} else {
-		blkmtd_proc->owner = THIS_MODULE;
-	}
-#endif
-
-	if(!list_empty(&blkmtd_device_list))
-		/* Everything is ok if we got here */
-		return 0;
+		return -EINVAL;
 
- init_err:
-	return -EINVAL;
+	return 0;
 }
 
 module_init(init_blkmtd);

--- blkmtd-25.c DELETED ---





More information about the linux-mtd-cvs mailing list