Date: Sat, 15 Nov 2003 12:27:19 +1100 From: Tim Robbins <tjr@freebsd.org> To: vze2ztys@verizon.net Cc: bug-followup@freebsd.org Subject: Re: kern/59271: copying from ntfs panics -CURRENT Message-ID: <20031115012719.GA8810@wombat.robbins.dropbear.id.au> In-Reply-To: <200311142324.hAENOMSH041907@freefall.freebsd.org> References: <200311142324.hAENOMSH041907@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Can you try this patch & let me know whether it helps? I can't reproduce the panic on a 4.0 GB NTFS filesystem created by Windows 2003 Server, but the code in question definitely looks buggy. --- sys/vm/vnode_pager.c.old Sat Nov 15 12:25:45 2003 +++ sys/vm/vnode_pager.c Sat Nov 15 11:07:33 2003 @@ -478,7 +478,10 @@ /* do the input */ bp->b_iooffset = dbtob(bp->b_blkno); - VOP_SPECSTRATEGY(bp->b_vp, bp); + if (dp->v_type == VCHR) + VOP_SPECSTRATEGY(bp->b_vp, bp); + else + VOP_STRATEGY(bp->b_vp, bp); /* we definitely need to be at splvm here */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031115012719.GA8810>