diff options
| author | mycroft <mycroft@NetBSD.org> | 2000-05-31 00:16:16 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 2000-05-31 00:16:16 +0000 |
| commit | e5ca8f815d53aba99a415fd07dfc3f3529eef8e8 (patch) | |
| tree | 7ec97e0dbf8fef931b26bfc19621762b49677d29 /gnu | |
| parent | 8f1cd9886e7c3fc3108109f3aa20ce5b14e11fb3 (diff) | |
Set IN_MODIFIED for the synchronous directory inode writes in the MKDIR_PARENT
case, too.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/sys/ufs/ffs/ffs_softdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/sys/ufs/ffs/ffs_softdep.c b/gnu/sys/ufs/ffs/ffs_softdep.c index 2737efed1e7..bb8ce4be274 100644 --- a/gnu/sys/ufs/ffs/ffs_softdep.c +++ b/gnu/sys/ufs/ffs/ffs_softdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_softdep.c,v 1.12 2000/05/30 21:57:22 mycroft Exp $ */ +/* $NetBSD: ffs_softdep.c,v 1.13 2000/05/31 00:16:16 mycroft Exp $ */ /* * Copyright 1998 Marshall Kirk McKusick. All Rights Reserved. @@ -3804,6 +3804,7 @@ softdep_fsync(vp) #ifdef __FreeBSD__ error = UFS_UPDATE(pvp, 1); #else + VTOI(pvp)->i_flag |= IN_MODIFIED; error = VOP_UPDATE(pvp, NULL, NULL, UPDATE_WAIT); #endif if (error) { @@ -4266,6 +4267,7 @@ flush_pagedep_deps(pvp, mp, diraddhdp) #ifdef __FreeBSD__ error = UFS_UPDATE(pvp, 1); #else + VTOI(pvp)->i_flag |= IN_MODIFIED; error = VOP_UPDATE(pvp, NULL, NULL, UPDATE_WAIT); #endif if (error) |
