Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27205
b: refs/heads/master
c: 86bc843
h: refs/heads/master
i:
  27203: f521560
v: v3
  • Loading branch information
Sergey Vlasov authored and Linus Torvalds committed Jun 12, 2006
1 parent 569c2c1 commit 1418827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cfd95a9cf58cd9e92d4c23b5ee20b07a3d121477
refs/heads/master: 86bc843a268058df558844b6bf64531617fbc698
1 change: 1 addition & 0 deletions trunk/mm/shmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1780,6 +1780,7 @@ static int shmem_rmdir(struct inode *dir, struct dentry *dentry)
if (!simple_empty(dentry))
return -ENOTEMPTY;

dentry->d_inode->i_nlink--;
dir->i_nlink--;
return shmem_unlink(dir, dentry);
}
Expand Down

0 comments on commit 1418827

Please sign in to comment.