summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-26 14:42:59 -0700
committerStefan Metzmacher <metze@samba.org>2013-10-13 14:35:26 +0200
commitdd0e4c47e5004aaceb5ad64115cfe039edb3fe8b (patch)
tree7878c810d1c70704221b0e1756eac3ead3953540
parent4c82e8358ad8eaac008929aed4fc2a607afeca78 (diff)
downloadsamba-dd0e4c47e5004aaceb5ad64115cfe039edb3fe8b.tar.gz
samba-dd0e4c47e5004aaceb5ad64115cfe039edb3fe8b.tar.bz2
samba-dd0e4c47e5004aaceb5ad64115cfe039edb3fe8b.zip
smbd: Remove unused create_options from open_mode_check
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Oct 13 14:35:26 CEST 2013 on sn-devel-104
-rw-r--r--source3/smbd/open.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 5c050871a9..f6df03595f 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1123,7 +1123,6 @@ static NTSTATUS open_mode_check(connection_struct *conn,
struct share_mode_lock *lck,
uint32 access_mask,
uint32 share_access,
- uint32 create_options,
bool *file_existed)
{
int i;
@@ -2436,7 +2435,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
status = open_mode_check(conn, lck,
access_mask, share_access,
- create_options, &file_existed);
+ &file_existed);
if (NT_STATUS_IS_OK(status)) {
/* We might be going to allow this open. Check oplock
@@ -3174,7 +3173,7 @@ static NTSTATUS open_directory(connection_struct *conn,
status = open_mode_check(conn, lck,
access_mask, share_access,
- create_options, &dir_existed);
+ &dir_existed);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(lck);