Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143703
b: refs/heads/master
c: fc6f394
h: refs/heads/master
i:
  143701: e6b01fe
  143699: c50ece9
  143695: 6c3d97a
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Apr 17, 2009
1 parent 597e263 commit 145bfe1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 22c9d52bc03b880045ab1081890a38f11b272ae7
refs/heads/master: fc6f394332ef1bf6ff5fbeaba0f2cd7a3c7971b6
3 changes: 2 additions & 1 deletion trunk/fs/cifs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,8 @@ int cifs_rename(struct inode *source_dir, struct dentry *source_dentry,
checking the UniqueId via FILE_INTERNAL_INFO */

unlink_target:
if ((rc == -EACCES) || (rc == -EEXIST)) {
/* Try unlinking the target dentry if it's not negative */
if (target_dentry->d_inode && (rc == -EACCES || rc == -EEXIST)) {
tmprc = cifs_unlink(target_dir, target_dentry);
if (tmprc)
goto cifs_rename_exit;
Expand Down

0 comments on commit 145bfe1

Please sign in to comment.