Date: Sun, 27 Jul 1997 12:14:10 +0100 From: Bob Bishop <rb@gid.co.uk> To: current@freebsd.org Subject: lockstatus() panic: a data point Message-ID: <l03020904b000dcab2ebb@[194.32.164.2]>
next in thread | raw e-mail | index | archive | help
Hi,
FWIW, I used to be regularly afflicted with the lockstatus panic. I've been
running with the following patch (I forget who from) since 28 May, since
when I haven't had a single occurrence.
Index: ufs_vnops.c
===================================================================
RCS file: /home/ncvs/src/sys/ufs/ufs/ufs_vnops.c,v
retrieving revision 1.50
diff -u -r1.50 ufs_vnops.c
--- ufs_vnops.c 1997/05/17 18:32:53 1.50
+++ ufs_vnops.c 1997/05/27 13:11:19
@@ -1788,6 +1788,9 @@
} */ *ap;
{
+ if (ap->a_vp->v_flag & VXLOCK)
+ return TRUE;
+
return (lockstatus(&VTOI(ap->a_vp)->i_lock));
--
Bob Bishop (0118) 977 4017 international code +44 118
rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l03020904b000dcab2ebb>
