Skip to content
Snippets Groups Projects
Commit 603deefc authored by rsc's avatar rsc
Browse files

oops

parent 629c1fe7
No related branches found
No related tags found
No related merge requests found
......@@ -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){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment