This commit is contained in:
rsc 2007-08-27 16:06:15 +00:00
parent 629c1fe743
commit 603deefc6b

View file

@ -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){