aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_nfs/mount_nfs.c
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2009-02-06 07:47:53 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2009-02-06 07:47:53 +0000
commit825972493034b4d6ad35e7f32e30f25bf8b32e54 (patch)
treef86eb150facb6a703c9e9cc2373bb9db14bffbae /sbin/mount_nfs/mount_nfs.c
parent60341db4b20203ad00eae2b2cc39cecae421b4c1 (diff)
downloadsrc-825972493034b4d6ad35e7f32e30f25bf8b32e54.tar.gz
src-825972493034b4d6ad35e7f32e30f25bf8b32e54.zip
Set NFSMNT_ACDIRMAX flag in fallback_mount() function.
Notes
Notes: svn path=/head/; revision=188218
Diffstat (limited to 'sbin/mount_nfs/mount_nfs.c')
-rw-r--r--sbin/mount_nfs/mount_nfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c
index 4f43cfc55c88..a2f5e89a3d6b 100644
--- a/sbin/mount_nfs/mount_nfs.c
+++ b/sbin/mount_nfs/mount_nfs.c
@@ -614,6 +614,7 @@ fallback_mount(struct iovec *iov, int iovlen, int mntflags)
if (ret != 1 || args.acdirmax < 0) {
errx(1, "illegal acdirmax: %s", opt);
}
+ args.flags |= NFSMNT_ACDIRMAX;
}
if (findopt(iov, iovlen, "deadthresh", &opt, NULL) == 0) {
ret = sscanf(opt, "%d", &args.deadthresh);