Revert "cifs: Fix the target file was deleted when rename failed."
This reverts commit 9ffad926 . Upon additional testing with older servers, it was found that the original commit introduced a regression when using the old SMB1 dialect and rsyncing over an existing file. The patch will need to be respun to address this, likely including a larger refactoring of the SMB1 and SMB3 rename code paths to make it less confusing and also to address some additional rename error cases that SMB3 may be able to workaround. Signed-off-by: Steve French <firstname.lastname@example.org> Reported-by: Patrick Fernie <email@example.com> CC: Stable <firstname.lastname@example.org> Acked-by: Ronnie Sahlberg <email@example.com> Acked-by: Pavel Shilovsky <firstname.lastname@example.org> Acked-by: Zhang Xiaoxu <email@example.com>