diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2009-02-06 07:47:53 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2009-02-06 07:47:53 +0000 |
commit | 0c3d4be2e1b46f6564cf58a665e35dc19bd88806 (patch) | |
tree | f86eb150facb6a703c9e9cc2373bb9db14bffbae | |
parent | bee75cb3e3f31047d4a5bcd8eb24d48c1945b611 (diff) | |
download | FreeBSD-src-0c3d4be2e1b46f6564cf58a665e35dc19bd88806.zip FreeBSD-src-0c3d4be2e1b46f6564cf58a665e35dc19bd88806.tar.gz |
Set NFSMNT_ACDIRMAX flag in fallback_mount() function.
-rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 1 |
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); |