summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-07-15 11:52:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:06 -0500
commit4fffd271d04fca6e305fda1aba99d88a60fc5271 (patch)
tree431a294845b4d1428b15e3130e7797f314b69cdb /source3
parentd8601c4a37a487a90d80a11f175746ebb46047b6 (diff)
downloadsamba-4fffd271d04fca6e305fda1aba99d88a60fc5271.tar.gz
samba-4fffd271d04fca6e305fda1aba99d88a60fc5271.tar.bz2
samba-4fffd271d04fca6e305fda1aba99d88a60fc5271.zip
r8492: open_mode_check does not use the parameter p_flags, so remove it.
Volker (This used to be commit ed9cb0061dbbc7677d5968581fde46c89febb6c0)
Diffstat (limited to 'source3')
-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 810913c025..3cd553f55b 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -556,7 +556,6 @@ static int open_mode_check(connection_struct *conn,
uint32 access_mask,
uint32 share_access,
uint32 create_options,
- int *p_flags,
int *p_oplock_request,
BOOL *p_all_current_opens_are_level_II)
{
@@ -1469,7 +1468,7 @@ files_struct *open_file_ntcreate(connection_struct *conn,
num_share_modes = open_mode_check(conn, fname, dev, inode,
access_mask, share_access,
create_options,
- &flags, &oplock_request,
+ &oplock_request,
&all_current_opens_are_level_II);
if(num_share_modes == -1) {
@@ -1625,7 +1624,7 @@ files_struct *open_file_ntcreate(connection_struct *conn,
num_share_modes = open_mode_check(conn, fname, dev, inode,
access_mask, share_access,
create_options,
- &flags, &oplock_request,
+ &oplock_request,
&all_current_opens_are_level_II);
if(num_share_modes == -1) {