patch-1.3.58 linux/fs/proc/inode.c
Next file: linux/fs/proc/net.c
Previous file: linux/fs/proc/Makefile
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Jan 18 10:09:25 1996
- Orig file:
v1.3.57/linux/fs/proc/inode.c
- Orig date:
Sat Dec 30 15:50:54 1995
diff -u --recursive --new-file v1.3.57/linux/fs/proc/inode.c linux/fs/proc/inode.c
@@ -12,7 +12,6 @@
#include <linux/stat.h>
#include <linux/locks.h>
#include <linux/limits.h>
-#include <linux/config.h>
#include <asm/system.h>
#include <asm/segment.h>
@@ -171,13 +170,11 @@
case PROC_NET:
inode->i_nlink = 2;
break;
-#ifdef CONFIG_SCSI
case PROC_SCSI:
inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO;
inode->i_nlink = 2;
inode->i_op = &proc_scsi_inode_operations;
break;
-#endif
case PROC_KCORE:
inode->i_mode = S_IFREG | S_IRUSR;
inode->i_op = &proc_kcore_inode_operations;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this