diff options
author | Roland McGrath <roland@gnu.org> | 2001-05-02 03:18:37 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-05-02 03:18:37 +0000 |
commit | a2bd823e81ca312339032dd023ad0713be47c064 (patch) | |
tree | d7a0957ae0e8a5acf815695ae9df5156592a53fd | |
parent | b6bbc11f6896c735053b68b516b2bc3e8c6fd23c (diff) |
2001-05-01 Neal H Walfield <neal@cs.uml.edu>
* tmpfs.c (main): Set diskfs_root_node->dn_stat.st_nlink to 2.
-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); |