++
This commit is contained in:
parent
d6d636aad3
commit
be29b8e263
1 changed files with 1 additions and 1 deletions
2
fs.c
2
fs.c
|
@ -723,7 +723,7 @@ link(char *name1, char *name2)
|
||||||
}
|
}
|
||||||
|
|
||||||
ilock(ip);
|
ilock(ip);
|
||||||
ip->nlink += 1;
|
ip->nlink++;
|
||||||
iupdate(ip);
|
iupdate(ip);
|
||||||
|
|
||||||
wdir(dp, last, ip->inum);
|
wdir(dp, last, ip->inum);
|
||||||
|
|
Loading…
Reference in a new issue