Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252926
b: refs/heads/master
c: 3cebde2
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Al Viro committed May 30, 2011
1 parent cf121c3 commit 0d744b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 339dedf709e21d5718d6596750166f70e8bed40a
refs/heads/master: 3cebde2413ba42504cf2c10ec1d47582912435cd
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/platforms/powermac/pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,7 @@ static struct syscore_ops pmacpic_syscore_ops = {

static int __init init_pmacpic_syscore(void)
{
if (pmac_irq_hw[0])
register_syscore_ops(&pmacpic_syscore_ops);
register_syscore_ops(&pmacpic_syscore_ops);
return 0;
}

Expand Down
3 changes: 3 additions & 0 deletions trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -2579,6 +2579,7 @@ int vfs_rmdir(struct inode *dir, struct dentry *dentry)
if (error)
goto out;

shrink_dcache_parent(dentry);
error = dir->i_op->rmdir(dir, dentry);
if (error)
goto out;
Expand Down Expand Up @@ -2993,6 +2994,8 @@ static int vfs_rename_dir(struct inode *old_dir, struct dentry *old_dentry,
if (d_mountpoint(old_dentry) || d_mountpoint(new_dentry))
goto out;

if (target)
shrink_dcache_parent(new_dentry);
error = old_dir->i_op->rename(old_dir, old_dentry, new_dir, new_dentry);
if (error)
goto out;
Expand Down

0 comments on commit 0d744b9

Please sign in to comment.