summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-05 13:10:42 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-05 13:17:33 +0200
commit1ba5077e5f1db07662f895e068c505479be29b48 (patch)
tree7e9f32cc4453a61083a21bbe94c30f529f7c00bc /source4/ntvfs/common
parentd9c2aaa0008d6e3f52b6e9b47366c052ab8df9f0 (diff)
downloadsamba-1ba5077e5f1db07662f895e068c505479be29b48.tar.gz
samba-1ba5077e5f1db07662f895e068c505479be29b48.tar.bz2
samba-1ba5077e5f1db07662f895e068c505479be29b48.zip
s4:ntvfs: s/== PROTOCOL_SMB2/>= PROTOCOL_SMB2_02/
metze
Diffstat (limited to 'source4/ntvfs/common')
-rw-r--r--source4/ntvfs/common/brlock_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/common/brlock_tdb.c b/source4/ntvfs/common/brlock_tdb.c
index 817448377c..fcaa756530 100644
--- a/source4/ntvfs/common/brlock_tdb.c
+++ b/source4/ntvfs/common/brlock_tdb.c
@@ -242,7 +242,7 @@ static NTSTATUS brl_tdb_lock_failed(struct brl_handle *brlh, struct lock_struct
*/
/* in SMB2 mode always return NT_STATUS_LOCK_NOT_GRANTED! */
- if (lock->ntvfs->ctx->protocol == PROTOCOL_SMB2) {
+ if (lock->ntvfs->ctx->protocol >= PROTOCOL_SMB2_02) {
return NT_STATUS_LOCK_NOT_GRANTED;
}