diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-10-22 13:57:01 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-10-23 04:50:17 +0000 |
commit | 8d281efb67463fe8aac8f6e10b31492fc218bf2b (patch) | |
tree | 72b5642a48725656f2d1edac506ab5d2152de648 /fs/timerfd.c | |
parent | 84210e9120a8c01a14379ba1f9a9b0f963641d94 (diff) |
cifs: fix unlinking of rename target when server doesn't support open file renames
cifs: fix unlinking of rename target when server doesn't support open file renames
The patch to make cifs_rename undoable broke renaming one file on top of
another when the server doesn't support busy file renames. Remove the
code that uses busy file renames to unlink the target file, and just
have it call cifs_unlink. If the rename of the source file fails, then
the unlink won't be undoable, but hopefully that's rare enough that it
won't be a problem.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions