diff options
author | mckusick <mckusick@FreeBSD.org> | 1998-09-29 21:46:54 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 1998-09-29 21:46:54 +0000 |
commit | 7774c57b8badc24956e96f05ceb00083846004d9 (patch) | |
tree | 04cc88f48464c7d1c5b1447386dc96d6ce86eb14 /sys/nfsclient | |
parent | 2ad6aded6a3a836518acd51a5f89f360b3469b73 (diff) | |
download | FreeBSD-src-7774c57b8badc24956e96f05ceb00083846004d9.zip FreeBSD-src-7774c57b8badc24956e96f05ceb00083846004d9.tar.gz |
When adding data to a buffer, we need to clear the B_NEEDCOMMIT flag
which says that the data is on server but not committed.
Diffstat (limited to 'sys/nfsclient')
-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 cb9ae16..b78e8f9 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.59 1998/06/14 15:51:59 bde Exp $ + * $Id: nfs_bio.c,v 1.60 1998/09/04 08:06:56 dfr Exp $ */ @@ -811,6 +811,7 @@ again: } error = uiomove((char *)bp->b_data + on, n, uio); + bp->b_flags &= ~B_NEEDCOMMIT; if (error) { bp->b_flags |= B_ERROR; brelse(bp); |