diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-30 22:05:23 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-31 01:06:41 +0200 |
commit | ddda8e0aa8b955e20cb80908189bfa154ab54837 (patch) | |
tree | ff5b1041ce86c76519c1b824161ce5d7ad2e49db /fs/nfs/namespace.c | |
parent | NFS: Keep module parameters in the generic NFS client (diff) | |
download | linux-ddda8e0aa8b955e20cb80908189bfa154ab54837.tar.xz linux-ddda8e0aa8b955e20cb80908189bfa154ab54837.zip |
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>
Diffstat (limited to 'fs/nfs/namespace.c')
-rw-r--r-- | fs/nfs/namespace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index 0f699fefee6e..2a3b170e88e0 100644 --- a/fs/nfs/namespace.c +++ b/fs/nfs/namespace.c @@ -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); |