mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
s3/locking: make find_share_mode_entry public
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12798 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 9d7739e819d5699209b5eacad4a0e2a8b8da0a86)
This commit is contained in:
parent
06e8eec839
commit
44ca450774
@ -858,7 +858,7 @@ bool set_share_mode(struct share_mode_lock *lck, struct files_struct *fsp,
|
||||
return true;
|
||||
}
|
||||
|
||||
static struct share_mode_entry *find_share_mode_entry(
|
||||
struct share_mode_entry *find_share_mode_entry(
|
||||
struct share_mode_lock *lck, files_struct *fsp)
|
||||
{
|
||||
struct share_mode_data *d = lck->data;
|
||||
|
@ -169,6 +169,8 @@ bool share_mode_stale_pid(struct share_mode_data *d, uint32_t idx);
|
||||
bool set_share_mode(struct share_mode_lock *lck, struct files_struct *fsp,
|
||||
uid_t uid, uint64_t mid, uint16_t op_type,
|
||||
uint32_t lease_idx);
|
||||
struct share_mode_entry *find_share_mode_entry(struct share_mode_lock *lck,
|
||||
files_struct *fsp);
|
||||
void remove_stale_share_mode_entries(struct share_mode_data *d);
|
||||
bool del_share_mode(struct share_mode_lock *lck, files_struct *fsp);
|
||||
bool mark_share_mode_disconnected(struct share_mode_lock *lck,
|
||||
|
Loading…
x
Reference in New Issue
Block a user