summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfsclient/nfs_vnops.c')
-rw-r--r--sys/nfsclient/nfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c
index 0dbbe09..2a36195 100644
--- a/sys/nfsclient/nfs_vnops.c
+++ b/sys/nfsclient/nfs_vnops.c
@@ -2986,7 +2986,7 @@ loop:
else
bp->b_flags |= B_ASYNC | B_WRITEINPROG;
splx(s);
- VOP_BWRITE(bp->b_vp, bp);
+ BUF_WRITE(bp);
goto loop;
}
splx(s);
@@ -3127,7 +3127,7 @@ nfs_writebp(bp, force, procp)
if (force)
bp->b_flags |= B_WRITEINPROG;
BUF_KERNPROC(bp);
- VOP_STRATEGY(bp->b_vp, bp);
+ BUF_STRATEGY(bp);
if( (oldflags & B_ASYNC) == 0) {
int rtval = biowait(bp);
OpenPOWER on IntegriCloud