diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-30 16:05:23 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-30 19:06:41 -0400 |
commit | ddda8e0aa8b955e20cb80908189bfa154ab54837 (patch) | |
tree | ff5b1041ce86c76519c1b824161ce5d7ad2e49db /fs/nfs/nfs.h | |
parent | fac1e8e4ef417e958060a6c3a061cc1a180bd8ae (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.h | 14 |
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 { | |||
24 | int nfs_register_versions(void); | 24 | int nfs_register_versions(void); |
25 | void nfs_unregister_versions(void); | 25 | void nfs_unregister_versions(void); |
26 | 26 | ||
27 | #ifdef CONFIG_NFS_V2 | ||
28 | int init_nfs_v2(void); | ||
29 | void exit_nfs_v2(void); | ||
30 | #else /* CONFIG_NFS_V2 */ | ||
31 | static inline int __init init_nfs_v2(void) | ||
32 | { | ||
33 | return 0; | ||
34 | } | ||
35 | |||
36 | static inline void exit_nfs_v2(void) | ||
37 | { | ||
38 | } | ||
39 | #endif /* CONFIG_NFS_V2 */ | ||
40 | |||
41 | #ifdef CONFIG_NFS_V3 | 27 | #ifdef CONFIG_NFS_V3 |
42 | int init_nfs_v3(void); | 28 | int init_nfs_v3(void); |
43 | void exit_nfs_v3(void); | 29 | void exit_nfs_v3(void); |