summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 2c0bca939d..f69cefe66b 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -6003,14 +6003,6 @@ static NTSTATUS smb2_file_rename_information(connection_struct *conn,
return status;
}
- /* Ok, this looks wrong to me, but appears to
- * be how SMB2 renames work. CHECK WITH Microsoft !
- * jra.
- */
- if (fsp->oplock_type != NO_OPLOCK) {
- return NT_STATUS_SHARING_VIOLATION;
- }
-
if (fsp->base_fsp) {
/* newname must be a stream name. */
if (newname[0] != ':') {