diff options
author | peter <peter@FreeBSD.org> | 1998-05-20 08:02:24 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-05-20 08:02:24 +0000 |
commit | bf07d95540db112811ffb3b7de9e6ca2432d24ae (patch) | |
tree | 4dca2d0d038c8d644edfd202e0a39bee37ecda27 /sys/nfsclient/nfs_bio.c | |
parent | e207cd01f6bc4d6804a0ddefb33d2b7c7d9cb67d (diff) | |
download | FreeBSD-src-bf07d95540db112811ffb3b7de9e6ca2432d24ae.zip FreeBSD-src-bf07d95540db112811ffb3b7de9e6ca2432d24ae.tar.gz |
A cleaner fix for PR#5102, clear nonsense flags at mount time rather than
in the core of nfs_bio.c at the 11th hour.
PR: 5102
Diffstat (limited to 'sys/nfsclient/nfs_bio.c')
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 544ba32..d16bf1a 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.9 (Berkeley) 3/30/95 - * $Id: nfs_bio.c,v 1.54 1998/03/28 16:05:05 steve Exp $ + * $Id: nfs_bio.c,v 1.55 1998/05/19 07:11:22 peter Exp $ */ @@ -1150,8 +1150,6 @@ nfs_doio(bp, cr, p) case VDIR: nfsstats.readdir_bios++; uiop->uio_offset = ((u_quad_t)bp->b_lblkno) * NFS_DIRBLKSIZ; - if (!(nmp->nm_flag & NFSMNT_NFSV3)) - nmp->nm_flag &= ~NFSMNT_RDIRPLUS; if (nmp->nm_flag & NFSMNT_RDIRPLUS) { error = nfs_readdirplusrpc(vp, uiop, cr); if (error == NFSERR_NOTSUPP) |