mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
ufs_direnter/SU: unconditionally UFS_UPDATE inode when extending directory
(cherry picked from commit 08c2dc2841)
This commit is contained in:
parent
861d47845f
commit
ed3b4bbe35
1 changed files with 1 additions and 3 deletions
|
|
@ -964,9 +964,7 @@ ufs_direnter(dvp, tvp, dirp, cnp, newdirbp, isrename)
|
|||
if (newdirbp)
|
||||
bdwrite(newdirbp);
|
||||
bdwrite(bp);
|
||||
if ((dp->i_flag & IN_NEEDSYNC) == 0)
|
||||
return (UFS_UPDATE(dvp, 0));
|
||||
return (0);
|
||||
return (UFS_UPDATE(dvp, 0));
|
||||
}
|
||||
if (DOINGASYNC(dvp)) {
|
||||
bdwrite(bp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue