summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-03 13:57:11 +0000
committerDavid Disseldorp <ddiss@samba.org>2013-10-24 14:22:03 +0200
commit184cc138b6fcd832fd084a919d65ad2f273bf5eb (patch)
tree6c71c407fdb75173fd7413be9f4982fcbc08e2b2 /source3/smbd/proto.h
parentbd542281bc424e4feae255df16b04f598d692304 (diff)
downloadsamba-184cc138b6fcd832fd084a919d65ad2f273bf5eb.tar.gz
samba-184cc138b6fcd832fd084a919d65ad2f273bf5eb.tar.bz2
samba-184cc138b6fcd832fd084a919d65ad2f273bf5eb.zip
smbd: Remove separate oplock_type parameter from set_file_oplock
This avoids the question where it could happen that something else but fsp->oplock_type might be useful as an argument here. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index bead710065..d365545fe9 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -659,7 +659,7 @@ NTSTATUS get_relative_fid_filename(connection_struct *conn,
/* The following definitions come from smbd/oplock.c */
void break_kernel_oplock(struct messaging_context *msg_ctx, files_struct *fsp);
-NTSTATUS set_file_oplock(files_struct *fsp, int oplock_type);
+NTSTATUS set_file_oplock(files_struct *fsp);
bool remove_oplock(files_struct *fsp);
bool downgrade_oplock(files_struct *fsp);
void contend_level2_oplocks_begin(files_struct *fsp,