[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tmpfs: small bug
From: |
Neal H Walfield |
Subject: |
[PATCH] tmpfs: small bug |
Date: |
Tue, 1 May 2001 17:52:17 +0200 |
User-agent: |
Mutt/1.3.15i |
We need to set the link count on the root node:
2001-05-01 Neal H Walfield <neal@cs.uml.edu>
* tmpfs.c (main): Set diskfs_root_node->dn_stat.st_nlink to 2.
Index: tmpfs.c
===================================================================
RCS file: /home/neal/shared/CVS/hurd/tmpfs/tmpfs.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 tmpfs.c
--- tmpfs.c 2001/04/19 12:42:41 1.1.1.1
+++ tmpfs.c 2001/04/23 14:06:57
@@ -292,6 +292,7 @@
}
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);
pgp8kyH0PUDOS.pgp
Description: PGP signature
- [PATCH] tmpfs: small bug,
Neal H Walfield <=