mtd/include/linux/mtd blktrans.h,1.3,1.4

David Woodhouse dwmw2 at infradead.org
Tue May 20 21:01:35 EDT 2003


Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv20742/include/linux/mtd

Modified Files:
	blktrans.h 
Log Message:
Remove unnecessary usecounts in dev and tr

Index: blktrans.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/blktrans.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- blktrans.h	20 May 2003 21:54:40 -0000	1.3
+++ blktrans.h	21 May 2003 01:01:32 -0000	1.4
@@ -22,12 +22,11 @@
 	struct list_head list;
 	struct mtd_info *mtd;
 	struct semaphore sem;
-	int usecount;
 	int devnum;
 	int blksize;
 	unsigned long size;
 	int readonly;
-	void *blkcore_priv;
+	void *blkcore_priv; /* gendisk in 2.5, devfs_handle in 2.4 */
 };
 
 struct blkcore_priv; /* Differs for 2.4 and 2.5 kernels; private */
@@ -63,7 +62,6 @@
 	struct list_head devs;
 	struct list_head list;
 	struct module *owner;
-	int usecount;
 
 	struct mtd_blkcore_priv *blkcore_priv;
 };




More information about the linux-mtd-cvs mailing list