summaryrefslogtreecommitdiffstats
path: root/sbin/mount_nfs
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2009-02-06 07:47:53 +0000
committerrodrigc <rodrigc@FreeBSD.org>2009-02-06 07:47:53 +0000
commit0c3d4be2e1b46f6564cf58a665e35dc19bd88806 (patch)
treef86eb150facb6a703c9e9cc2373bb9db14bffbae /sbin/mount_nfs
parentbee75cb3e3f31047d4a5bcd8eb24d48c1945b611 (diff)
downloadFreeBSD-src-0c3d4be2e1b46f6564cf58a665e35dc19bd88806.zip
FreeBSD-src-0c3d4be2e1b46f6564cf58a665e35dc19bd88806.tar.gz
Set NFSMNT_ACDIRMAX flag in fallback_mount() function.
Diffstat (limited to 'sbin/mount_nfs')
-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 4f43cfc..a2f5e89 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);
OpenPOWER on IntegriCloud