patch-2.1.129 linux/include/linux/proc_fs.h

Next file: linux/include/linux/swapctl.h
Previous file: linux/include/linux/pagemap.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.128/linux/include/linux/proc_fs.h linux/include/linux/proc_fs.h
@@ -143,6 +143,7 @@
 	PROC_NET_NETSTAT,
 	PROC_NET_IPFW_CHAINS,
 	PROC_NET_IPFW_CHAIN_NAMES,
+	PROC_NET_AT_AARP,
 	PROC_NET_LAST
 };
 
@@ -174,6 +175,7 @@
 	PROC_SCSI_ULTRASTOR,
 	PROC_SCSI_7000FASST,
 	PROC_SCSI_IBMMCA,
+	PROC_SCSI_FD_MCS,
 	PROC_SCSI_EATA2X,
 	PROC_SCSI_DC390T,
 	PROC_SCSI_AM53C974,
@@ -332,7 +334,7 @@
 {
     extern void scsi_init_free(char *ptr, unsigned int size);
 
-    if(x <= PROC_SCSI_FILE)
+    if(x < PROC_SCSI_FILE)
 	return(proc_unregister(proc_scsi, x));
     else {
 	struct proc_dir_entry **p = &driver->subdir, *dp;
@@ -349,6 +351,7 @@
     }
 }
 
+extern struct dentry_operations proc_dentry_operations;
 extern struct super_block *proc_read_super(struct super_block *,void *,int);
 extern int init_proc_fs(void);
 extern struct inode * proc_get_inode(struct super_block *, int, struct proc_dir_entry *);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov