Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 09:38:19 +0100
From:      phk@freebsd.org
To:        Enache Adrian <enache@rdslink.ro>
Cc:        current@freebsd.org
Subject:   Re: VOP_STRATEGY on VCHR 
Message-ID:  <32582.1043743099@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 27 Jan 2003 23:10:24 %2B0200." <20030127211024.GB1043@ratsnest.hole> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32582.1043743099>