xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 603deefc6b18610ce89f44c18fd933929588d3ea
parent 629c1fe743c681c950805b2f3802c90026e58224
Author: rsc <rsc>
Date:   Mon, 27 Aug 2007 16:06:15 +0000

oops

Diffstat:
Msysfile.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sysfile.c b/sysfile.c @@ -240,6 +240,7 @@ create(char *path, int canexist, short type, short major, short minor) ilock(ip); ip->major = major; ip->minor = minor; + ip->nlink = 1; iupdate(ip); if(dirlink(dp, name, ip->inum) < 0){