patch-2.3.30 linux/fs/nfsd/nfsctl.c

Next file: linux/fs/ntfs/fs.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/fs/nfsd/nfsctl.c linux/fs/nfsd/nfsctl.c
@@ -57,7 +57,7 @@
 
 void proc_export_init(void)
 {
-	if (!create_proc_entry("fs/nfs", S_IFDIR, 0))
+	if (!proc_mkdir("fs/nfs", 0))
 		return;
 	create_proc_read_entry("fs/nfs/exports", 0, 0, exp_procfs_exports,NULL);
 }

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