diff options
author | pst <pst@FreeBSD.org> | 1996-06-08 05:59:04 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-06-08 05:59:04 +0000 |
commit | 868a754d52f804f73cfb5a0aba9e612fb19a39b8 (patch) | |
tree | 6c7d2410d713785d9da68a1d3d3ae31b0b1f6b8e /sys/nfsclient/nfs_bio.c | |
parent | d879c0ae3d999d36a2a511c2f173ca67ae3fe168 (diff) | |
download | FreeBSD-src-868a754d52f804f73cfb5a0aba9e612fb19a39b8.zip FreeBSD-src-868a754d52f804f73cfb5a0aba9e612fb19a39b8.tar.gz |
Clear flags before using an inactive buffer. This is a kludge, but
matches the code in bread().
Reviewed by: bde
Diffstat (limited to 'sys/nfsclient/nfs_bio.c')
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index e375a46..b5b7668 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.5 (Berkeley) 1/4/94 - * $Id: nfs_bio.c,v 1.21 1995/12/17 21:12:13 phk Exp $ + * $Id: nfs_bio.c,v 1.22 1996/01/24 18:52:18 mpp Exp $ */ #include <sys/param.h> @@ -250,6 +250,7 @@ again: return (EINTR); if ((bp->b_flags & B_CACHE) == 0) { bp->b_flags |= B_READ; + bp->b_flags &= ~(B_DONE | B_ERROR | B_INVAL); not_readin = 0; vfs_busy_pages(bp, 0); error = nfs_doio(bp, cred, p); |