summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs/nfs_bio.c')
-rw-r--r--sys/nfs/nfs_bio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c
index b137fe8..b9c3e28 100644
--- a/sys/nfs/nfs_bio.c
+++ b/sys/nfs/nfs_bio.c
@@ -994,7 +994,7 @@ again:
if (bp->b_dirtyend > 0 &&
(on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) {
- if (VOP_BWRITE(bp->b_vp, bp) == EINTR)
+ if (BUF_WRITE(bp) == EINTR)
return (EINTR);
goto again;
}
@@ -1063,7 +1063,7 @@ again:
if ((np->n_flag & NQNFSNONCACHE) || (ioflag & IO_SYNC)) {
if (ioflag & IO_INVAL)
bp->b_flags |= B_NOCACHE;
- error = VOP_BWRITE(bp->b_vp, bp);
+ error = BUF_WRITE(bp);
if (error)
break;
if (np->n_flag & NQNFSNONCACHE) {
OpenPOWER on IntegriCloud