patch-2.4.0-test9 linux/include/linux/coda_psdev.h

Next file: linux/include/linux/cuda.h
Previous file: linux/include/linux/coda_linux.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/linux/coda_psdev.h linux/include/linux/coda_psdev.h
@@ -4,19 +4,13 @@
 #define CODA_PSDEV_MAJOR 67
 #define MAX_CODADEVS  5	   /* how many do we allow */
 
-extern struct venus_comm coda_upc_comm;
-extern struct coda_sb_info coda_super_info;
 #define CODA_SUPER_MAGIC	0x73757245
 
 struct coda_sb_info
 {
-	struct inode *      sbi_psdev;     /* /dev/cfs? Venus/kernel device */
-	int                 sbi_refct;
 	struct venus_comm * sbi_vcomm;
-	struct inode *      sbi_root;
 	struct super_block *sbi_sb;
-	struct list_head    sbi_cchead;
-	struct list_head    sbi_volroothead;
+	struct list_head    sbi_cihead;
 };
 
 /* communication pending/processing queues */
@@ -26,6 +20,7 @@
 	struct list_head    vc_pending;
 	struct list_head    vc_processing;
 	int                 vc_inuse;
+	struct super_block *vc_sb;
 };
 
 
@@ -35,11 +30,6 @@
 }
 
 
-
-extern void coda_psdev_detach(int unit);
-extern int  init_coda_psdev(void);
-
-
 /* upcalls */
 int venus_rootfid(struct super_block *sb, ViceFid *fidp);
 int venus_getattr(struct super_block *sb, struct ViceFid *fid, 
@@ -112,6 +102,7 @@
 } ;
 
 extern struct coda_upcallstats coda_callstats;
+extern struct venus_comm coda_comms[];
 
 static inline void clstats(int opcode)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)