mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
s3: leases: send_break_message() public.
We're going to need this to allow async SMB2 setinfo renames to send lease break messages as well as the open code. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
@ -1244,7 +1244,7 @@ static NTSTATUS open_mode_check(connection_struct *conn,
|
|||||||
* our client.
|
* our client.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static NTSTATUS send_break_message(struct messaging_context *msg_ctx,
|
NTSTATUS send_break_message(struct messaging_context *msg_ctx,
|
||||||
const struct share_mode_entry *exclusive,
|
const struct share_mode_entry *exclusive,
|
||||||
uint16_t break_to)
|
uint16_t break_to)
|
||||||
{
|
{
|
||||||
|
@ -616,6 +616,9 @@ NTSTATUS change_dir_owner_to_parent(connection_struct *conn,
|
|||||||
const char *fname,
|
const char *fname,
|
||||||
SMB_STRUCT_STAT *psbuf);
|
SMB_STRUCT_STAT *psbuf);
|
||||||
bool is_stat_open(uint32 access_mask);
|
bool is_stat_open(uint32 access_mask);
|
||||||
|
NTSTATUS send_break_message(struct messaging_context *msg_ctx,
|
||||||
|
const struct share_mode_entry *exclusive,
|
||||||
|
uint16_t break_to);
|
||||||
struct deferred_open_record;
|
struct deferred_open_record;
|
||||||
bool is_deferred_open_async(const struct deferred_open_record *rec);
|
bool is_deferred_open_async(const struct deferred_open_record *rec);
|
||||||
NTSTATUS create_directory(connection_struct *conn, struct smb_request *req,
|
NTSTATUS create_directory(connection_struct *conn, struct smb_request *req,
|
||||||
|
Reference in New Issue
Block a user