summaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_nfsiod.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfsclient/nfs_nfsiod.c')
-rw-r--r--sys/nfsclient/nfs_nfsiod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_nfsiod.c b/sys/nfsclient/nfs_nfsiod.c
index bf6175ac6d27..d8d5913db3de 100644
--- a/sys/nfsclient/nfs_nfsiod.c
+++ b/sys/nfsclient/nfs_nfsiod.c
@@ -257,9 +257,9 @@ nfssvc_iod(void *instance)
wakeup(&nmp->nm_bufq);
}
if (bp->b_iocmd == BIO_READ)
- (void) nfs_doio(bp, bp->b_rcred, NULL);
+ (void) nfs_doio(bp->b_vp, bp, bp->b_rcred, NULL);
else
- (void) nfs_doio(bp, bp->b_wcred, NULL);
+ (void) nfs_doio(bp->b_vp, bp, bp->b_wcred, NULL);
/*
* If there are more than one iod on this mount, then defect
* so that the iods can be shared out fairly between the mounts