Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc committed Aug 27, 2007
1 parent 629c1fe commit 603deef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sysfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 603deef

Please sign in to comment.