From d9bdfb0a0720907151b71086be289a0f6ec2bb98 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 22 May 2006 17:21:38 +0000 Subject: r15814: add SMB2 Lock interface structure metze (This used to be commit 8f1850ef65dc8c860912639d787d82399d015f13) --- source4/ntvfs/ntvfs_generic.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/ntvfs/ntvfs_generic.c') 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; -- cgit