* SUCH DAMAGE.
*
* from: @(#)mount_fs.c 8.1 (Berkeley) 6/6/93
- * $Id: mount_fs.c,v 1.1.1.1 1995/10/18 08:47:11 deraadt Exp $
+ * $Id: mount_fs.c,v 1.2 1996/04/03 14:13:05 dm Exp $
*/
#include "am.h"
#ifdef NFS_3
typedef nfs_fh fhandle_t;
#endif /* NFS_3 */
-#include <sys/mount.h>
#include <sys/stat.h>
-/* $OpenBSD: nfs_ops.c,v 1.3 1996/03/25 15:54:48 niklas Exp $ */
+/* $OpenBSD: nfs_ops.c,v 1.4 1996/04/03 14:13:06 dm Exp $ */
/*-
* Copyright (c) 1990 Jan-Simon Pendry
#ifndef lint
/*static char sccsid[] = "from: @(#)nfs_ops.c 8.1 (Berkeley) 6/6/93";*/
-static char *rcsid = "$OpenBSD: nfs_ops.c,v 1.3 1996/03/25 15:54:48 niklas Exp $";
+static char *rcsid = "$OpenBSD: nfs_ops.c,v 1.4 1996/04/03 14:13:06 dm Exp $";
#endif /* not lint */
#include "am.h"
#ifdef MNTOPT_NQNFS
if (hasmntopt(&mnt, MNTOPT_NQNFS) != NULL)
nfs_args.flags |= NFSMNT_NQNFS;
+#ifdef NFSMNT_NQLOOKLEASE
if (hasmntopt(&mnt, "nolooklease") == NULL)
nfs_args.flags |= NFSMNT_NQLOOKLEASE;
+#endif /* NFSMNT_NQLOOKLEASE */
#endif /* MNTOPT_NQNFS */
#ifdef NFSMNT_PGTHRESH