diff options
Diffstat (limited to 'sys/nfs/nfs_bio.c')
-rw-r--r-- | sys/nfs/nfs_bio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index c7029d6..fe055c0 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: nfs_bio.c,v 1.71 1999/05/06 20:00:30 phk Exp $ + * $Id: nfs_bio.c,v 1.72 1999/06/05 05:25:37 peter Exp $ */ @@ -894,7 +894,7 @@ again: if (bp->b_dirtyend > 0 && (on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) { - if (VOP_BWRITE(bp) == EINTR) + if (VOP_BWRITE(bp->b_vp, bp) == EINTR) return (EINTR); goto again; } @@ -961,7 +961,7 @@ again: if ((np->n_flag & NQNFSNONCACHE) || (ioflag & IO_SYNC)) { if (ioflag & IO_INVAL) bp->b_flags |= B_NOCACHE; - error = VOP_BWRITE(bp); + error = VOP_BWRITE(bp->b_vp, bp); if (error) return (error); if (np->n_flag & NQNFSNONCACHE) { |