summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-22 17:21:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:27 -0500
commitd9bdfb0a0720907151b71086be289a0f6ec2bb98 (patch)
treec112e6391bda1d5d49193e3049500ee42e7b168d /source4/ntvfs
parent3553a24dfee94e96d40a5518c3ee90ed2480b97c (diff)
downloadsamba-d9bdfb0a0720907151b71086be289a0f6ec2bb98.tar.gz
samba-d9bdfb0a0720907151b71086be289a0f6ec2bb98.tar.bz2
samba-d9bdfb0a0720907151b71086be289a0f6ec2bb98.zip
r15814: add SMB2 Lock interface structure
metze (This used to be commit 8f1850ef65dc8c860912639d787d82399d015f13)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs_generic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ntvfs/ntvfs_generic.c b/source4/ntvfs/ntvfs_generic.c
index 922093a0a9..3283ee673d 100644
--- a/source4/ntvfs/ntvfs_generic.c
+++ b/source4/ntvfs/ntvfs_generic.c
@@ -969,6 +969,9 @@ _PUBLIC_ NTSTATUS ntvfs_map_lock(struct ntvfs_module_context *ntvfs,
lck2->generic.in.ulock_cnt = 1;
lck2->generic.in.lock_cnt = 0;
break;
+
+ case RAW_LOCK_SMB2:
+ return NT_STATUS_INVALID_LEVEL;
}
lck2->generic.level = RAW_LOCK_GENERIC;