diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-24 17:03:20 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-24 17:03:20 +0000 |
commit | 4c832e32c4828dd3d4f5d00cf248f10b78100512 (patch) | |
tree | 1f21d7b7bc4c62dce9138e0171cf378e5b374cad /sbin/mount | |
parent | 58ae363b1055ab6c28d4f8ebc5e078218ff3b09e (diff) |
Get rid of NQNFS options
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/mount.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 9824e57f620..2b7ddf27962 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.c,v 1.21 2001/03/12 01:30:24 deraadt Exp $ */ +/* $OpenBSD: mount.c,v 1.22 2001/06/24 17:03:16 csapuntz Exp $ */ /* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mount.c 8.19 (Berkeley) 4/19/94"; #else -static char rcsid[] = "$OpenBSD: mount.c,v 1.21 2001/03/12 01:30:24 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: mount.c,v 1.22 2001/06/24 17:03:16 csapuntz Exp $"; #endif #endif /* not lint */ @@ -58,7 +58,6 @@ static char rcsid[] = "$OpenBSD: mount.c,v 1.21 2001/03/12 01:30:24 deraadt Exp #define _KERNEL #include <nfs/nfs.h> #undef _KERNEL -#include <nfs/nqnfs.h> #include <err.h> #include <errno.h> @@ -472,7 +471,6 @@ prmount(sf) struct nfs_args *nfs_args = &sf->mount_info.nfs_args; (void)printf("%s%s", !f++ ? " (" : ", ", - (nfs_args->flags & NFSMNT_NQNFS) ? "nqnfs" : (nfs_args->flags & NFSMNT_NFSV3) ? "v3" : "v2"); if (nfs_args->proto && (pr = getprotobynumber(nfs_args->proto))) (void)printf("%s%s", !f++ ? " (" : ", ", pr->p_name); @@ -508,14 +506,6 @@ prmount(sf) if (verbose || nfs_args->readahead != NFS_DEFRAHEAD) (void)printf("%s%s=%d", !f++ ? " (" : ", ", "readahead", nfs_args->readahead); - if (nfs_args->flags & NFSMNT_NQNFS) { - if (verbose || nfs_args->leaseterm != NQ_DEFLEASE) - (void)printf("%s%s=%d", !f++ ? " (" : ", ", - "leaseterm", nfs_args->leaseterm); - if (verbose || nfs_args->deadthresh != NQ_DEADTHRESH) - (void)printf("%s%s=%d", !f++ ? " (" : ", ", - "deadthresh", nfs_args->deadthresh); - } } else if (strcmp(sf->f_fstypename, MOUNT_MFS) == 0) { int headerlen; long blocksize; |