summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfsroot.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-06-26 17:47:12 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-07-09 12:09:40 -0400
commit0e0cab744b17a70ef0f08d818d66935feade7cad (patch)
tree761a796ae9f0cdcaf15435699c293e30e711264d /fs/nfs/nfsroot.c
parented596a8adb7964cf9d2f7682f9cf2c37322a775d (diff)
downloadlinux-stable-0e0cab744b17a70ef0f08d818d66935feade7cad.tar.gz
linux-stable-0e0cab744b17a70ef0f08d818d66935feade7cad.tar.bz2
linux-stable-0e0cab744b17a70ef0f08d818d66935feade7cad.zip
NFS: use documenting macro constants for initializing ac{reg, dir}{min, max}
Clean up. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfsroot.c')
-rw-r--r--fs/nfs/nfsroot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c
index 15afe3a6c5be..46763d1cd397 100644
--- a/fs/nfs/nfsroot.c
+++ b/fs/nfs/nfsroot.c
@@ -295,10 +295,10 @@ static int __init root_nfs_name(char *name)
nfs_data.flags = NFS_MOUNT_NONLM; /* No lockd in nfs root yet */
nfs_data.rsize = NFS_DEF_FILE_IO_SIZE;
nfs_data.wsize = NFS_DEF_FILE_IO_SIZE;
- nfs_data.acregmin = 3;
- nfs_data.acregmax = 60;
- nfs_data.acdirmin = 30;
- nfs_data.acdirmax = 60;
+ nfs_data.acregmin = NFS_DEF_ACREGMIN;
+ nfs_data.acregmax = NFS_DEF_ACREGMAX;
+ nfs_data.acdirmin = NFS_DEF_ACDIRMIN;
+ nfs_data.acdirmax = NFS_DEF_ACDIRMAX;
strcpy(buf, NFS_ROOT);
/* Process options received from the remote server */