patch-2.3.30 linux/fs/coda/sysctl.c

Next file: linux/fs/devices.c
Previous file: linux/fs/coda/symlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/fs/coda/sysctl.c linux/fs/coda/sysctl.c
@@ -492,7 +492,7 @@
 	reset_coda_cache_inv_stats();
 
 #ifdef CONFIG_PROC_FS
-	proc_fs_coda = create_proc_entry("coda", S_IFDIR, proc_root_fs);
+	proc_fs_coda = proc_mkdir("coda", proc_root_fs);
 	proc_fs_coda->owner = THIS_MODULE;
 	coda_proc_create("vfs_stats", coda_vfs_stats_get_info);
 	coda_proc_create("upcall_stats", coda_upcall_stats_get_info);

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