Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218966
b: refs/heads/master
c: 85b8fe8
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Christoph Hellwig committed Oct 27, 2010
1 parent a95930d commit eadd262
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e50fb58b5b3548e578d3b74ff15aeb7d9a496839
refs/heads/master: 85b8fe8cc47b0dc1068475ba95f29ddff10a8efc
4 changes: 3 additions & 1 deletion trunk/fs/hfsplus/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,10 @@ static int hfsplus_unlink(struct inode *dir, struct dentry *dentry)
res = hfsplus_rename_cat(inode->i_ino,
dir, &dentry->d_name,
sbi->hidden_dir, &str);
if (!res)
if (!res) {
inode->i_flags |= S_DEAD;
drop_nlink(inode);
}
goto out;
}
res = hfsplus_delete_cat(cnid, dir, &dentry->d_name);
Expand Down

0 comments on commit eadd262

Please sign in to comment.