From 0c3d4be2e1b46f6564cf58a665e35dc19bd88806 Mon Sep 17 00:00:00 2001 From: rodrigc Date: Fri, 6 Feb 2009 07:47:53 +0000 Subject: Set NFSMNT_ACDIRMAX flag in fallback_mount() function. --- sbin/mount_nfs/mount_nfs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sbin/mount_nfs') 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); -- cgit v1.1