diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-14 09:54:42 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-12-14 12:00:07 +0100 |
commit | 324e66fd45747b64b1abc85f2ac2fb1e5ed31232 (patch) | |
tree | 8331575d967efe3ea1bb7b86b028269597391780 | |
parent | dabc2cb9cb10c05e44144bf048277bc8ac62bf77 (diff) | |
download | samba-324e66fd45747b64b1abc85f2ac2fb1e5ed31232.tar.gz samba-324e66fd45747b64b1abc85f2ac2fb1e5ed31232.tar.bz2 samba-324e66fd45747b64b1abc85f2ac2fb1e5ed31232.zip |
s3:smbd/oplock: make process_oplock_async_level2_break_message() static
metze
-rw-r--r-- | source3/smbd/oplock.c | 2 | ||||
-rw-r--r-- | source3/smbd/proto.h | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index b14c370020..7a810d9a20 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -430,7 +430,7 @@ void break_level2_to_none_async(files_struct *fsp) the client for LEVEL2. *******************************************************************/ -void process_oplock_async_level2_break_message(struct messaging_context *msg_ctx, +static void process_oplock_async_level2_break_message(struct messaging_context *msg_ctx, void *private_data, uint32_t msg_type, struct server_id src, diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 64cf944320..0123e7dffb 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -654,11 +654,6 @@ bool downgrade_oplock(files_struct *fsp); bool should_notify_deferred_opens(void); void break_level2_to_none_async(files_struct *fsp); void reply_to_oplock_break_requests(files_struct *fsp); -void process_oplock_async_level2_break_message(struct messaging_context *msg_ctx, - void *private_data, - uint32_t msg_type, - struct server_id src, - DATA_BLOB *data); void contend_level2_oplocks_begin(files_struct *fsp, enum level2_contention_type type); void contend_level2_oplocks_end(files_struct *fsp, |