Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157201
b: refs/heads/master
c: 9de6886
h: refs/heads/master
i:
  157199: 15b9343
v: v3
  • Loading branch information
Nicolas Pitre authored and Linus Torvalds committed Sep 5, 2009
1 parent daf2205 commit 4665745
Show file tree
Hide file tree
Showing 2 changed files with 5 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: ac7ac9f2b9bfd9b68a1571d27e4c8bebb4788914
refs/heads/master: 9de6886ec6e37f45807266a702bb7621498395ad
4 changes: 4 additions & 0 deletions trunk/fs/ext2/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@ static int ext2_rename (struct inode * old_dir, struct dentry * old_dentry,
if (dir_de) {
if (old_dir != new_dir)
ext2_set_link(old_inode, dir_de, dir_page, new_dir, 0);
else {
kunmap(dir_page);
page_cache_release(dir_page);
}
inode_dec_link_count(old_dir);
}
return 0;
Expand Down

0 comments on commit 4665745

Please sign in to comment.