From 4fffd271d04fca6e305fda1aba99d88a60fc5271 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 15 Jul 2005 11:52:07 +0000 Subject: r8492: open_mode_check does not use the parameter p_flags, so remove it. Volker (This used to be commit ed9cb0061dbbc7677d5968581fde46c89febb6c0) --- source3/smbd/open.c | 5 ++--- 1 file 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) { -- cgit