Subject: Re: kern/10231: panic in soft dependence code
To: Matthias Scheler <tron@zhadum.de>
From: Charles M. Hannum <root@ihack.net>
List: current-users
Date: 05/30/2000 18:04:24
I haven't been able to reproduce this problem, but in principal the
following patch should fix it.
Index: ffs_softdep.c
===================================================================
RCS file: /cvsroot/gnusrc/gnu/sys/ufs/ffs/ffs_softdep.c,v
retrieving revision 1.12
diff -c -2 -r1.12 ffs_softdep.c
*** ffs_softdep.c 2000/05/30 21:57:22 1.12
--- ffs_softdep.c 2000/05/31 00:00:20
***************
*** 3805,3808 ****
--- 3805,3809 ----
error = UFS_UPDATE(pvp, 1);
#else
+ VTOI(pvp)->i_flag |= IN_MODIFIED;
error = VOP_UPDATE(pvp, NULL, NULL, UPDATE_WAIT);
#endif
***************
*** 4267,4270 ****
--- 4268,4272 ----
error = UFS_UPDATE(pvp, 1);
#else
+ VTOI(pvp)->i_flag |= IN_MODIFIED;
error = VOP_UPDATE(pvp, NULL, NULL, UPDATE_WAIT);
#endif