diff options
Diffstat (limited to 'tmpfs')
-rw-r--r-- | tmpfs/tmpfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tmpfs/tmpfs.c b/tmpfs/tmpfs.c index 2612d44f..baa42581 100644 --- a/tmpfs/tmpfs.c +++ b/tmpfs/tmpfs.c @@ -292,6 +292,7 @@ main (int argc, char **argv) } diskfs_root_node->dn_stat.st_mode &= ~S_ITRANS; diskfs_root_node->dn_stat.st_mode |= S_IROOT; + diskfs_root_node->dn_stat.st_nlink = 2; mutex_unlock (&diskfs_root_node->lock); |