mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
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
This commit is contained in:
parent
acd5ab2fcb
commit
0411d79138
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183067
|
@ -2621,7 +2621,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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue