]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The struct inode *ip supplied to softdep_freefile is not neccessary the
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 16 Sep 2008 10:52:25 +0000 (10:52 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 16 Sep 2008 10:52:25 +0000 (10:52 +0000)
commit0411d79138bf4df6b1dfdac9f4636c1ad0e1c9c2
treecf8f2090a75d9d204ea205acc204c76738f22ce4
parentacd5ab2fcb9f6250056af12415cdd617aa1c0d28
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.

Reviewed by: tegge
In collaboration with: pho
MFC after:  1 month
sys/ufs/ffs/ffs_softdep.c