From a2bd823e81ca312339032dd023ad0713be47c064 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 2 May 2001 03:18:37 +0000 Subject: 2001-05-01 Neal H Walfield * tmpfs.c (main): Set diskfs_root_node->dn_stat.st_nlink to 2. --- tmpfs/tmpfs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tmpfs') 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); -- cgit v1.2.3