summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-26 15:31:12 -0700
committerStefan Metzmacher <metze@samba.org>2013-10-23 11:51:43 +0200
commitcb279212744345a5a77e60401cb19d151b978ea8 (patch)
tree24dd0e368f574e0e63779e4c3931e8fc768be503 /source3
parent9d3e3a736cad0d1f22f71f108231bae1bd2ece19 (diff)
downloadsamba-cb279212744345a5a77e60401cb19d151b978ea8.tar.gz
samba-cb279212744345a5a77e60401cb19d151b978ea8.tar.bz2
samba-cb279212744345a5a77e60401cb19d151b978ea8.zip
smbd: Remove unused "oplock_request" arg from send_break_message
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 19de472a8a..35a4877161 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1168,9 +1168,8 @@ static NTSTATUS open_mode_check(connection_struct *conn,
*/
static NTSTATUS send_break_message(files_struct *fsp,
- struct share_mode_entry *exclusive,
- uint64_t mid,
- int oplock_request)
+ struct share_mode_entry *exclusive,
+ uint64_t mid)
{
NTSTATUS status;
char msg[MSG_SMB_SHARE_MODE_ENTRY_SIZE];
@@ -1350,7 +1349,7 @@ static bool delay_for_oplock(files_struct *fsp,
if (share_mode_stale_pid(d, 0)) {
return false;
}
- send_break_message(fsp, entry, mid, oplock_request);
+ send_break_message(fsp, entry, mid);
return true;
}
if (have_sharing_violation) {
@@ -1370,7 +1369,7 @@ static bool delay_for_oplock(files_struct *fsp,
return false;
}
- send_break_message(fsp, entry, mid, oplock_request);
+ send_break_message(fsp, entry, mid);
return true;
}