Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2000 09:53:46 -0400 (EDT)
From:      Luoqi Chen <luoqi@watermarkgroup.com>
To:        billf@chimesnet.com, rjoseph@mammalia.org
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: panic at shutdown
Message-ID:  <200008011353.e71Drkl05127@lor.watermarkgroup.com>

next in thread | raw e-mail | index | archive | help
> #7  0xc017a726 in vput (vp=0xc8710840) at vnode_if.h:794
> #8  0xc01aee87 in ffs_sync (mp=0xc0ade800, waitfor=2, cred=0xc0721700, 
>     p=0xc026d5e0) at ../../ufs/ffs/ffs_vfsops.c:955

Change the vput(vp) call at line 955 of ffs_vfsops.c back to two separate
calls (see previous revision):

	VOP_UNLOCK(vp, 0, p);
	vrele(vp);

vput assumes curproc is the lock holder, but it's not true in this case.

-lq


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?200008011353.e71Drkl05127>