summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2015-10-07 14:28:32 +0200
committerJeremy Allison <jra@samba.org>2015-10-12 22:13:19 +0200
commitd643aafe59738890cb8b71e2e865c56ea1fe6539 (patch)
tree9e73f0e7f2344a40fef1024adaf20e2c821e712f /source3
parent3c00e8d76a2ef6194a8ce522c15853e5b8e9262b (diff)
downloadsamba-d643aafe59738890cb8b71e2e865c56ea1fe6539.tar.gz
s3:smbd: remove unused arg oplock_request
The use of oplock_request in calculate_open_access_flags() was removed in 196da5925. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 162e8347b94..ef1505dd354 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2354,7 +2354,6 @@ static int disposition_to_open_flags(uint32_t create_disposition)
}
static int calculate_open_access_flags(uint32_t access_mask,
- int oplock_request,
uint32_t private_flags)
{
bool need_write, need_read;
@@ -2641,8 +2640,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
* mean the same thing under DOS and Unix.
*/
- flags = calculate_open_access_flags(access_mask, oplock_request,
- private_flags);
+ flags = calculate_open_access_flags(access_mask, private_flags);
/*
* Currently we only look at FILE_WRITE_THROUGH for create options.