patch-2.3.25 linux/fs/nfsd/nfsctl.c
Next file: linux/fs/open.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Oct 28 14:34:47 1999
- Orig file:
v2.3.24/linux/fs/nfsd/nfsctl.c
- Orig date:
Wed Oct 27 16:34:12 1999
diff -u --recursive --new-file v2.3.24/linux/fs/nfsd/nfsctl.c linux/fs/nfsd/nfsctl.c
@@ -57,13 +57,9 @@
void proc_export_init(void)
{
- struct proc_dir_entry *nfs_export_ent = NULL;
-
- if (!(nfs_export_ent = create_proc_entry("fs/nfs", S_IFDIR, 0)))
+ if (!create_proc_entry("fs/nfs", S_IFDIR, 0))
return;
- if (!(nfs_export_ent = create_proc_entry("fs/nfs/exports", 0, 0)))
- return;
- nfs_export_ent->read_proc = exp_procfs_exports;
+ 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)