[EMAIL PROTECTED] wrote:

In message <[EMAIL PROTECTED]>, Lars Eggert writes:


>just got this on today's -current, when accessing a mounted NTFS partition:
>
>VOP_SPECSTRATEGY on non-VCHR
>: 0xc6d73c34: tag ntfs, type VREG, usecount 3, writecount 0, refcount 0,
>flags (VV_OBJBUF), lock type ntfs: SHARED (count 1)


Can you try this patch ?
The patch fixes things in the sense that I now longer see the message. Thanks!

Index: vnode_pager.c
===================================================================
RCS file: /home/ncvs/src/sys/vm/vnode_pager.c,v
retrieving revision 1.167
diff -u -r1.167 vnode_pager.c
--- vnode_pager.c	5 Jan 2003 20:32:03 -0000	1.167
+++ vnode_pager.c	12 Jan 2003 10:21:08 -0000
@@ -823,7 +823,10 @@
 	cnt.v_vnodepgsin += count;

 	/* do the input */
-	VOP_SPECSTRATEGY(bp->b_vp, bp);
+	if (dp->v_type == VCHR)
+		VOP_SPECSTRATEGY(bp->b_vp, bp);
+	else
+		VOP_STRATEGY(bp->b_vp, bp);

 	s = splvm();
 	/* we definitely need to be at splvm here */

Lars
--
Lars Eggert <[EMAIL PROTECTED]>           USC Information Sciences Institute

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to