summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/ufs/ffs/ffs_softdep.c1
-rw-r--r--sys/ufs/ufs/ufs_inode.c5
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 058d693..94368fd 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -2603,6 +2603,7 @@ softdep_freefile(pvp, ino, mode)
}
WORKLIST_INSERT(&inodedep->id_inowait, &freefile->fx_list);
FREE_LOCK(&lk);
+ ip->i_flag |= IN_MODIFIED;
}
/*
diff --git a/sys/ufs/ufs/ufs_inode.c b/sys/ufs/ufs/ufs_inode.c
index 86b1608..57ede1e 100644
--- a/sys/ufs/ufs/ufs_inode.c
+++ b/sys/ufs/ufs/ufs_inode.c
@@ -194,10 +194,9 @@ ufs_reclaim(ap)
* Destroy the vm object and flush associated pages.
*/
vnode_destroy_vobject(vp);
- if (ip->i_flag & IN_LAZYMOD) {
+ if (ip->i_flag & IN_LAZYMOD)
ip->i_flag |= IN_MODIFIED;
- UFS_UPDATE(vp, 0);
- }
+ UFS_UPDATE(vp, 0);
/*
* Remove the inode from its hash chain.
*/
OpenPOWER on IntegriCloud