summaryrefslogtreecommitdiff
path: root/source3/locking/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r--source3/locking/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index 25f3d196b8..1aa1d5035a 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -146,8 +146,8 @@ bool locking_init(void);
bool locking_init_readonly(void);
bool locking_end(void);
char *share_mode_str(TALLOC_CTX *ctx, int num, const struct share_mode_entry *e);
-struct share_mode_lock *get_share_mode_lock(TALLOC_CTX *mem_ctx,
- const struct file_id id);
+struct share_mode_lock *get_existing_share_mode_lock(TALLOC_CTX *mem_ctx,
+ const struct file_id id);
struct share_mode_lock *get_share_mode_lock_fresh(
TALLOC_CTX *mem_ctx,
const struct file_id id,