summaryrefslogtreecommitdiff
path: root/ufs-fsck
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-01 17:39:25 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-01 17:39:25 +0000
commit15ea5bc172ffd076ab8fa2e561a1fd688553e07e (patch)
tree4264f36ea8e1370a4f91d022f3267b38d8de541a /ufs-fsck
parente1e0b6e178236af39dd9026e48325f65d2f38f7d (diff)
(makeentry): After successful directory expansion, write out modified
directory inode.
Diffstat (limited to 'ufs-fsck')
-rw-r--r--ufs-fsck/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ufs-fsck/dir.c b/ufs-fsck/dir.c
index 1a693c42..d4f05858 100644
--- a/ufs-fsck/dir.c
+++ b/ufs-fsck/dir.c
@@ -384,6 +384,7 @@ makeentry (ino_t dir, ino_t ino, char *name)
{
if (expanddir (&dino))
{
+ write_inode (ino, &dino);
datablocks_iterate (&dino, checkdirblock);
pfix ("EXPANDED");
}