Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 1998 07:39:49 -0600 (CST)
From:      dave adkins <adkin003@tc.umn.edu>
To:        current@FreeBSD.ORG
Subject:   ext2_sync and NULL inode and VNON v_type
Message-ID:  <Pine.NEB.3.96.980310072629.1093A-100000@samthedog>

next in thread | raw e-mail | index | archive | help


In current as of 980310, a r/w mounted ext2 filesystem panics on the first
sync. This happens when a vnode of type VNON with ip == NULL is processed. 

I have added a test for a v_type of VNON in ext2_sync().

	if (VOP_ISLOCKED(vp))
		continue;
+	if ( vp->v_type == VNON )
+		continue;
	ip = VTOI(vp);
	if (ip == NULL) {	


I haven't yet tried writing to the mounted file system with this patch. 

dave adkins



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?Pine.NEB.3.96.980310072629.1093A-100000>