Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89596
b: refs/heads/master
c: 5dabd69
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara authored and Mark Fasheh committed Apr 18, 2008
1 parent 88b43af commit d22ee72
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 58dadcdbc2584db050969f9781727fc5a3f618db
refs/heads/master: 5dabd69515765156605b09261abf969236a77803
2 changes: 1 addition & 1 deletion trunk/fs/ocfs2/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ static int ocfs2_rename(struct inode *old_dir,
*
* And that's why, just like the VFS, we need a file system
* rename lock. */
if (old_dentry != new_dentry) {
if (old_dir != new_dir && S_ISDIR(old_inode->i_mode)) {
status = ocfs2_rename_lock(osb);
if (status < 0) {
mlog_errno(status);
Expand Down

0 comments on commit d22ee72

Please sign in to comment.