summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-07-30 22:05:23 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-31 01:06:41 +0200
commitddda8e0aa8b955e20cb80908189bfa154ab54837 (patch)
treeff5b1041ce86c76519c1b824161ce5d7ad2e49db /fs/nfs/nfs.h
parentNFS: Keep module parameters in the generic NFS client (diff)
downloadlinux-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/nfs.h')
-rw-r--r--fs/nfs/nfs.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/nfs/nfs.h b/fs/nfs/nfs.h
index 9f502a0c1e59..f5d1cf5f5dc7 100644
--- a/fs/nfs/nfs.h
+++ b/fs/nfs/nfs.h
@@ -24,20 +24,6 @@ struct nfs_subversion {
int nfs_register_versions(void);
void nfs_unregister_versions(void);
-#ifdef CONFIG_NFS_V2
-int init_nfs_v2(void);
-void exit_nfs_v2(void);
-#else /* CONFIG_NFS_V2 */
-static inline int __init init_nfs_v2(void)
-{
- return 0;
-}
-
-static inline void exit_nfs_v2(void)
-{
-}
-#endif /* CONFIG_NFS_V2 */
-
#ifdef CONFIG_NFS_V3
int init_nfs_v3(void);
void exit_nfs_v3(void);