NFS: Convert v2 into a module
The module (nfs2.ko) will be created in the same directory as nfs.ko and will be automatically loaded the first time you try to mount over NFS v2. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:

committed by
Trond Myklebust

parent
fac1e8e4ef
commit
ddda8e0aa8
@@ -7,6 +7,7 @@
|
||||
* NFS namespace
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/dcache.h>
|
||||
#include <linux/gfp.h>
|
||||
#include <linux/mount.h>
|
||||
@@ -255,3 +256,4 @@ struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry,
|
||||
|
||||
return nfs_do_submount(dentry, fh, fattr, server->client->cl_auth->au_flavor);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(nfs_submount);
|
||||
|
Reference in New Issue
Block a user