1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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
This commit is contained in:
Volker Lendecke 2013-09-26 14:42:59 -07:00 committed by Stefan Metzmacher
parent 4c82e8358a
commit dd0e4c47e5

View File

@ -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);