Commit 6ab86aa13045e7f6742af0b3c3c45f952f9fbb8d
Committed by
Trond Myklebust
1 parent
d75d54147d
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
fs/nfs/super.c
... | ... | @@ -187,6 +187,7 @@ |
187 | 187 | }; |
188 | 188 | #endif |
189 | 189 | |
190 | +#ifdef CONFIG_NFS_V4 | |
190 | 191 | static const int nfs_set_port_min = 0; |
191 | 192 | static const int nfs_set_port_max = 65535; |
192 | 193 | |
193 | 194 | |
... | ... | @@ -202,7 +203,9 @@ |
202 | 203 | |
203 | 204 | module_param_call(callback_tcpport, param_set_port, param_get_int, |
204 | 205 | &nfs_callback_set_tcpport, 0644); |
206 | +#endif | |
205 | 207 | |
208 | +#ifdef CONFIG_NFS_V4 | |
206 | 209 | static int param_set_idmap_timeout(const char *val, struct kernel_param *kp) |
207 | 210 | { |
208 | 211 | char *endp; |
... | ... | @@ -216,6 +219,7 @@ |
216 | 219 | |
217 | 220 | module_param_call(idmap_cache_timeout, param_set_idmap_timeout, param_get_int, |
218 | 221 | &nfs_idmap_cache_timeout, 0644); |
222 | +#endif | |
219 | 223 | |
220 | 224 | /* |
221 | 225 | * Register the NFS filesystems |