diff options
author | bde <bde@FreeBSD.org> | 1997-03-09 10:21:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-09 10:21:26 +0000 |
commit | 23d82fc0798075710294d385622731a57c8b9b7b (patch) | |
tree | 6e92661d1715fd63647be9e9675fcc3e6ee80102 | |
parent | 6d26a929ee4212aa8f9d4a8598afac5f89770bef (diff) | |
download | FreeBSD-src-23d82fc0798075710294d385622731a57c8b9b7b.zip FreeBSD-src-23d82fc0798075710294d385622731a57c8b9b7b.tar.gz |
YAMInTheWrongDirectionF22 (part of rev.1.28.2.3: set B_CLUSTEROK for
commits).
-rw-r--r-- | sys/nfs/nfs_bio.c | 4 | ||||
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 0b34d60..e44450f 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.9 (Berkeley) 3/30/95 - * $Id$ + * $Id: nfs_bio.c,v 1.32 1997/02/22 09:42:35 peter Exp $ */ @@ -956,7 +956,7 @@ nfs_doio(bp, cr, p) bp->b_flags |= B_WRITEINPROG; error = nfs_writerpc(vp, uiop, cr, &iomode, &must_commit); if (!error && iomode == NFSV3WRITE_UNSTABLE) - bp->b_flags |= B_NEEDCOMMIT; + bp->b_flags |= B_NEEDCOMMIT | B_CLUSTEROK; else bp->b_flags &= ~B_NEEDCOMMIT; bp->b_flags &= ~B_WRITEINPROG; diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 0b34d60..e44450f 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$ + * $Id: nfs_bio.c,v 1.32 1997/02/22 09:42:35 peter Exp $ */ @@ -956,7 +956,7 @@ nfs_doio(bp, cr, p) bp->b_flags |= B_WRITEINPROG; error = nfs_writerpc(vp, uiop, cr, &iomode, &must_commit); if (!error && iomode == NFSV3WRITE_UNSTABLE) - bp->b_flags |= B_NEEDCOMMIT; + bp->b_flags |= B_NEEDCOMMIT | B_CLUSTEROK; else bp->b_flags &= ~B_NEEDCOMMIT; bp->b_flags &= ~B_WRITEINPROG; |