Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118393
b: refs/heads/master
c: ae6884a
h: refs/heads/master
i:
  118391: 006f1e7
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Nov 3, 2008
1 parent dafa8a2 commit 54853d2
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: 61de800d33af585cb7e6f27b5cdd51029c6855cb
refs/heads/master: ae6884a9da56f8921e432e663b4ccb4a1851b2ea
4 changes: 3 additions & 1 deletion trunk/fs/cifs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1361,9 +1361,11 @@ int cifs_rename(struct inode *source_dir, struct dentry *source_dentry,
CIFS_MOUNT_MAP_SPECIAL_CHR);

if (tmprc == 0 && (info_buf_source->UniqueId ==
info_buf_target->UniqueId))
info_buf_target->UniqueId)) {
/* same file, POSIX says that this is a noop */
rc = 0;
goto cifs_rename_exit;
}
} /* else ... BB we could add the same check for Windows by
checking the UniqueId via FILE_INTERNAL_INFO */

Expand Down

0 comments on commit 54853d2

Please sign in to comment.