patch-2.3.51 linux/fs/proc/procfs_syms.c

Next file: linux/fs/qnx4/inode.c
Previous file: linux/fs/proc/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/fs/proc/procfs_syms.c linux/fs/proc/procfs_syms.c
@@ -20,12 +20,7 @@
 EXPORT_SYMBOL(proc_bus);
 EXPORT_SYMBOL(proc_root_driver);
 
-static struct file_system_type proc_fs_type = {
-	"proc", 
-	0 /* FS_NO_DCACHE doesn't work correctly */,
-	proc_read_super, 
-	NULL
-};
+static DECLARE_FSTYPE(proc_fs_type, "proc", proc_read_super, 0);
 
 int __init init_proc_fs(void)
 {

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