From 766dd89a4b5b33be85a83493fb186af6a581812c Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 7 Sep 2004 08:53:28 +0000 Subject: Explicitly pass vnode to smbfs_doio() function. --- sys/fs/smbfs/smbfs_vnops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/fs/smbfs/smbfs_vnops.c') diff --git a/sys/fs/smbfs/smbfs_vnops.c b/sys/fs/smbfs/smbfs_vnops.c index c051b69..e899aab 100644 --- a/sys/fs/smbfs/smbfs_vnops.c +++ b/sys/fs/smbfs/smbfs_vnops.c @@ -854,8 +854,6 @@ smbfs_strategy (ap) struct thread *td; int error = 0; - KASSERT(ap->a_vp == ap->a_bp->b_vp, ("%s(%p != %p)", - __func__, ap->a_vp, ap->a_bp->b_vp)); SMBVDEBUG("\n"); if (bp->b_flags & B_ASYNC) td = (struct thread *)0; @@ -867,7 +865,7 @@ smbfs_strategy (ap) cr = bp->b_wcred; if ((bp->b_flags & B_ASYNC) == 0 ) - error = smbfs_doio(bp, cr, td); + error = smbfs_doio(ap->a_vp, bp, cr, td); return error; } -- cgit v1.1