Commit dd726068 authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] Create a mountpoint for the nfsd filesystem.

Though the nfsd module can create this, having it always
there makes auto-loading-on-mount work better.

Note: it was previously recommended that the nfsd filesystem be mounted
on /proc/fs/nfs, which I was never comfortable with.
Henceforth the recommended location will be /proc/fs/nfsd.
nfs-utils 1.0.6 and later will support both.
parent 2a7ae342
...@@ -65,6 +65,7 @@ void __init proc_root_init(void) ...@@ -65,6 +65,7 @@ void __init proc_root_init(void)
#endif #endif
proc_root_fs = proc_mkdir("fs", 0); proc_root_fs = proc_mkdir("fs", 0);
proc_root_driver = proc_mkdir("driver", 0); proc_root_driver = proc_mkdir("driver", 0);
proc_mkdir("fs/nfsd", 0); /* somewhere for the nfsd filesystem to be mounted */
#if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE) #if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE)
/* just give it a mountpoint */ /* just give it a mountpoint */
proc_mkdir("openprom", 0); proc_mkdir("openprom", 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment