From owner-freebsd-current Tue Jan 28 0:38:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AFB237B401 for ; Tue, 28 Jan 2003 00:38:21 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82DBA43F75 for ; Tue, 28 Jan 2003 00:38:20 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h0S8cJQl032583; Tue, 28 Jan 2003 09:38:19 +0100 (CET) (envelope-from phk@freebsd.org) To: Enache Adrian Cc: current@freebsd.org Subject: Re: VOP_STRATEGY on VCHR From: phk@freebsd.org In-Reply-To: Your message of "Mon, 27 Jan 2003 23:10:24 +0200." <20030127211024.GB1043@ratsnest.hole> Date: Tue, 28 Jan 2003 09:38:19 +0100 Message-ID: <32582.1043743099@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030127211024.GB1043@ratsnest.hole>, Enache Adrian writes: >I get this when I try to access for the first time a file on an ext2fs >filesystem. > >VOP_STRATEGY on VCHR Please try this patch and let me know if it helps ? Index: ext2_vnops.c =================================================================== RCS file: /home/ncvs/src/sys/gnu/ext2fs/ext2_vnops.c,v retrieving revision 1.75 diff -u -r1.75 ext2_vnops.c --- ext2_vnops.c 4 Jan 2003 08:47:19 -0000 1.75 +++ ext2_vnops.c 28 Jan 2003 08:37:50 -0000 @@ -1528,7 +1528,7 @@ } vp = ip->i_devvp; bp->b_dev = vp->v_rdev; - VOP_STRATEGY(vp, bp); + VOP_SPECSTRATEGY(vp, bp); return (0); } -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message