svn commit: r187891 - in stable/7/sys: . contrib/pf dev/ath/ath_hal
dev/cxgb ufs/ffs
Konstantin Belousov
kib at FreeBSD.org
Thu Jan 29 03:21:16 PST 2009
Author: kib
Date: Thu Jan 29 11:21:15 2009
New Revision: 187891
URL: http://svn.freebsd.org/changeset/base/187891
Log:
MFC r183067:
The struct inode *ip supplied to softdep_freefile is not neccessary the
inode having number ino. In r170991, the ip was marked IN_MODIFIED, that
is not quite correct.
Mark only the right inode modified by checking inode number.
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
stable/7/sys/dev/ath/ath_hal/ (props changed)
stable/7/sys/dev/cxgb/ (props changed)
stable/7/sys/ufs/ffs/ffs_softdep.c
Modified: stable/7/sys/ufs/ffs/ffs_softdep.c
==============================================================================
--- stable/7/sys/ufs/ffs/ffs_softdep.c Thu Jan 29 11:17:11 2009 (r187890)
+++ stable/7/sys/ufs/ffs/ffs_softdep.c Thu Jan 29 11:21:15 2009 (r187891)
@@ -2606,7 +2606,8 @@ softdep_freefile(pvp, ino, mode)
}
WORKLIST_INSERT(&inodedep->id_inowait, &freefile->fx_list);
FREE_LOCK(&lk);
- ip->i_flag |= IN_MODIFIED;
+ if (ip->i_number == ino)
+ ip->i_flag |= IN_MODIFIED;
}
/*
More information about the svn-src-stable-7
mailing list