aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c4
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
190static const int nfs_set_port_min = 0; 191static const int nfs_set_port_min = 0;
191static const int nfs_set_port_max = 65535; 192static 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
203module_param_call(callback_tcpport, param_set_port, param_get_int, 204module_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
206static int param_set_idmap_timeout(const char *val, struct kernel_param *kp) 209static 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
217module_param_call(idmap_cache_timeout, param_set_idmap_timeout, param_get_int, 220module_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