aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-07-30 16:05:23 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-30 19:06:41 -0400
commitddda8e0aa8b955e20cb80908189bfa154ab54837 (patch)
treeff5b1041ce86c76519c1b824161ce5d7ad2e49db /fs/nfs/nfs.h
parentfac1e8e4ef417e958060a6c3a061cc1a180bd8ae (diff)
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 {
24int nfs_register_versions(void); 24int nfs_register_versions(void);
25void nfs_unregister_versions(void); 25void nfs_unregister_versions(void);
26 26
27#ifdef CONFIG_NFS_V2
28int init_nfs_v2(void);
29void exit_nfs_v2(void);
30#else /* CONFIG_NFS_V2 */
31static inline int __init init_nfs_v2(void)
32{
33 return 0;
34}
35
36static inline void exit_nfs_v2(void)
37{
38}
39#endif /* CONFIG_NFS_V2 */
40
41#ifdef CONFIG_NFS_V3 27#ifdef CONFIG_NFS_V3
42int init_nfs_v3(void); 28int init_nfs_v3(void);
43void exit_nfs_v3(void); 29void exit_nfs_v3(void);