summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_create.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-13 15:18:15 +0200
committerJeremy Allison <jra@samba.org>2013-10-15 01:52:29 +0200
commitcc9cd5142a861360861407fd6018385524bf150d (patch)
tree15141bcbd7f9f5d94f5de347b82b9c390c675c1e /source3/smbd/smb2_create.c
parent47f65d5829167f061756621e50b480a8c16e4fbc (diff)
downloadsamba-cc9cd5142a861360861407fd6018385524bf150d.tar.gz
samba-cc9cd5142a861360861407fd6018385524bf150d.tar.bz2
samba-cc9cd5142a861360861407fd6018385524bf150d.zip
smbd: Remove some FAKE_LEVEL_II comments
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r--source3/smbd/smb2_create.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 140c81b309..f48c8ee379 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -58,11 +58,6 @@ static uint8_t map_samba_oplock_levels_to_smb2(int oplock_type)
} else if (EXCLUSIVE_OPLOCK_TYPE(oplock_type)) {
return SMB2_OPLOCK_LEVEL_EXCLUSIVE;
} else if (oplock_type == LEVEL_II_OPLOCK) {
- /*
- * Don't use LEVEL_II_OPLOCK_TYPE here as
- * this also includes FAKE_LEVEL_II_OPLOCKs
- * which are internal only.
- */
return SMB2_OPLOCK_LEVEL_II;
} else {
return SMB2_OPLOCK_LEVEL_NONE;