apply workaround for (supposed) mystery nfs bug
authorJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Tue, 21 Jul 1992 06:59:39 +0000 (22:59 -0800)
committerJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Tue, 21 Jul 1992 06:59:39 +0000 (22:59 -0800)
SCCS-vsn: usr.sbin/amd/amd/afs_ops.c 5.6

usr/src/usr.sbin/amd/amd/afs_ops.c

index 5ae631b..01ee824 100644 (file)
@@ -9,7 +9,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)afs_ops.c   5.5 (Berkeley) %G%
+ *     @(#)afs_ops.c   5.6 (Berkeley) %G%
  *
  * $Id: afs_ops.c,v 5.2.2.4 1992/05/31 16:36:36 jsp Exp $
  *
  *
  * $Id: afs_ops.c,v 5.2.2.4 1992/05/31 16:36:36 jsp Exp $
  *
@@ -160,6 +160,11 @@ char *opts;
                strcpy(fs_hostname + HOSTNAMESZ - 3, "..");
 #endif /* HOSTNAMESZ */
 
                strcpy(fs_hostname + HOSTNAMESZ - 3, "..");
 #endif /* HOSTNAMESZ */
 
+#ifdef NFSMNT_DUMBTIMR
+       nfs_args.flags |= NFSMNT_DUMBTIMR;
+       plog(XLOG_INFO, "defeating nfs window computation");
+#endif
+
        /*
         * Parse a subset of the standard nfs options.  The
         * others are probably irrelevant for this application
        /*
         * Parse a subset of the standard nfs options.  The
         * others are probably irrelevant for this application