summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfsclient/nfs_clvnops.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-04-17 18:56:17 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-04-17 18:56:17 +0000
commitf6967ddf2b3dd548fbb783aa8e625404cbdf3332 (patch)
tree0467f33713971dc26afabe999d372780422974ab /sys/fs/nfsclient/nfs_clvnops.c
parent25689fa4045c3729e6662c96d23d76b95eafcbfc (diff)
downloadFreeBSD-src-f6967ddf2b3dd548fbb783aa8e625404cbdf3332.zip
FreeBSD-src-f6967ddf2b3dd548fbb783aa8e625404cbdf3332.tar.gz
Fix up some of the sysctls for the experimental NFS client so
that they use the same names as the regular client. Also add string descriptions for them. MFC after: 2 weeks
Diffstat (limited to 'sys/fs/nfsclient/nfs_clvnops.c')
-rw-r--r--sys/fs/nfsclient/nfs_clvnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c
index 0260d51..aaaee9e 100644
--- a/sys/fs/nfsclient/nfs_clvnops.c
+++ b/sys/fs/nfsclient/nfs_clvnops.c
@@ -219,7 +219,7 @@ SYSCTL_INT(_vfs_newnfs, OID_AUTO, clean_pages_on_close, CTLFLAG_RW,
&nfs_clean_pages_on_close, 0, "NFS clean dirty pages on close");
int newnfs_directio_enable = 0;
-SYSCTL_INT(_vfs_newnfs, OID_AUTO, directio_enable, CTLFLAG_RW,
+SYSCTL_INT(_vfs_newnfs, OID_AUTO, nfs_directio_enable, CTLFLAG_RW,
&newnfs_directio_enable, 0, "Enable NFS directio");
/*
@@ -234,7 +234,7 @@ SYSCTL_INT(_vfs_newnfs, OID_AUTO, directio_enable, CTLFLAG_RW,
* meaningful.
*/
int newnfs_directio_allow_mmap = 1;
-SYSCTL_INT(_vfs_newnfs, OID_AUTO, directio_allow_mmap, CTLFLAG_RW,
+SYSCTL_INT(_vfs_newnfs, OID_AUTO, nfs_directio_allow_mmap, CTLFLAG_RW,
&newnfs_directio_allow_mmap, 0, "Enable mmaped IO on file with O_DIRECT opens");
#if 0
OpenPOWER on IntegriCloud