diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 3b7420c80..ae1721321 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,7 @@ +2000-05-10 Pavel Machek + + * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized. + 2000-05-08 Valery Kornienkov vfs/extfs/uha.in: add HSC type archives diff --git a/vfs/direntry.c b/vfs/direntry.c index 3bece9e21..e25ba2c03 100644 --- a/vfs/direntry.c +++ b/vfs/direntry.c @@ -46,6 +46,7 @@ vfs_s_new_inode (vfs *me, vfs_s_super *super, struct stat *initstat) if (initstat) ino->st = *initstat; ino->super = super; + ino->st.st_nlink = 0; ino->st.st_ino = MEDATA->inode_counter++; ino->st.st_dev = MEDATA->rdev;