mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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