summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2022-08-30 09:48:40 +0200
committerJeremy Allison <jra@samba.org>2022-09-20 00:34:35 +0000
commit387f126d0749355eed32f75708d488ef6ad17349 (patch)
treed7542c7d6413f6ac73bd78b74947bbf5f9ff06da /source3/smbd/proto.h
parenta4dd4d5f0fdb8cb242dde93cf620f238fccf9e9c (diff)
downloadsamba-387f126d0749355eed32f75708d488ef6ad17349.tar.gz
s3:smbd: remove static from release_file_oplock()
It will be used in close.c in the next commit. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 743375a7d90..91bce9c7203 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -770,6 +770,7 @@ uint32_t get_lease_type(struct share_mode_entry *e, struct file_id id);
void break_kernel_oplock(struct messaging_context *msg_ctx, files_struct *fsp);
NTSTATUS set_file_oplock(files_struct *fsp);
+void release_file_oplock(files_struct *fsp);
bool remove_oplock(files_struct *fsp);
bool downgrade_oplock(files_struct *fsp);
bool fsp_lease_update(struct files_struct *fsp);