summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_nfsiod.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-09-07 08:56:43 +0000
committerphk <phk@FreeBSD.org>2004-09-07 08:56:43 +0000
commit9f1a2f23b212c00fcbf88247ae9b3f80903955ce (patch)
treed42741c35900a99444cf04b7e7fab7eebd821edf /sys/nfsclient/nfs_nfsiod.c
parent766dd89a4b5b33be85a83493fb186af6a581812c (diff)
downloadFreeBSD-src-9f1a2f23b212c00fcbf88247ae9b3f80903955ce.zip
FreeBSD-src-9f1a2f23b212c00fcbf88247ae9b3f80903955ce.tar.gz
Explicitly pass vnode to nfs_doio() and mountpoint to nfs_asyncio().
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 bf6175a..d8d5913 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
OpenPOWER on IntegriCloud