diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-25 05:41:27 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-25 06:38:47 -0400 |
commit | 6ab86aa13045e7f6742af0b3c3c45f952f9fbb8d (patch) | |
tree | d301f1faaa3e62459edde714cb0c3d4a67a4f8cf /fs | |
parent | d75d54147db9db5194040bd1c5022df6ba36ee48 (diff) |
nfs-build-fix-99
fs/built-in.o:(__param+0x20): undefined reference to `nfs_idmap_cache_timeout'
fs/built-in.o:(__param+0x48): undefined reference to `nfs_callback_set_tcpport'
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andreas Gruenbacher <agruen@suse.de>
Cc: Andy Adamson <andros@citi.umich.edu>
Cc: Chuck Lever <cel@netapp.com>
Cc: David Howells <dhowells@redhat.com>
Cc: J. Bruce Fields <bfields@fieldses.org>
Cc: Manoj Naik <manoj@almaden.ibm.com>
Cc: Marc Eshel <eshel@almaden.ibm.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/super.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index b977748553d3..e8a9bee74d9d 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -187,6 +187,7 @@ static struct super_operations nfs4_sops = { | |||
187 | }; | 187 | }; |
188 | #endif | 188 | #endif |
189 | 189 | ||
190 | #ifdef CONFIG_NFS_V4 | ||
190 | static const int nfs_set_port_min = 0; | 191 | static const int nfs_set_port_min = 0; |
191 | static const int nfs_set_port_max = 65535; | 192 | static const int nfs_set_port_max = 65535; |
192 | 193 | ||
@@ -202,7 +203,9 @@ static int param_set_port(const char *val, struct kernel_param *kp) | |||
202 | 203 | ||
203 | module_param_call(callback_tcpport, param_set_port, param_get_int, | 204 | module_param_call(callback_tcpport, param_set_port, param_get_int, |
204 | &nfs_callback_set_tcpport, 0644); | 205 | &nfs_callback_set_tcpport, 0644); |
206 | #endif | ||
205 | 207 | ||
208 | #ifdef CONFIG_NFS_V4 | ||
206 | static int param_set_idmap_timeout(const char *val, struct kernel_param *kp) | 209 | static int param_set_idmap_timeout(const char *val, struct kernel_param *kp) |
207 | { | 210 | { |
208 | char *endp; | 211 | char *endp; |
@@ -216,6 +219,7 @@ static int param_set_idmap_timeout(const char *val, struct kernel_param *kp) | |||
216 | 219 | ||
217 | module_param_call(idmap_cache_timeout, param_set_idmap_timeout, param_get_int, | 220 | module_param_call(idmap_cache_timeout, param_set_idmap_timeout, param_get_int, |
218 | &nfs_idmap_cache_timeout, 0644); | 221 | &nfs_idmap_cache_timeout, 0644); |
222 | #endif | ||
219 | 223 | ||
220 | /* | 224 | /* |
221 | * Register the NFS filesystems | 225 | * Register the NFS filesystems |