mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
smbd: sconn->sys_notify_ctx is not used
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
2bd34516d4
commit
8e27c19d13
@ -860,7 +860,6 @@ struct smbd_server_connection {
|
||||
const char *remote_hostname;
|
||||
struct tevent_context *ev_ctx;
|
||||
struct messaging_context *msg_ctx;
|
||||
struct sys_notify_context *sys_notify_ctx;
|
||||
struct notify_context *notify_ctx;
|
||||
bool using_smb2;
|
||||
int trans_num;
|
||||
|
@ -697,10 +697,6 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn,
|
||||
MSG_SMB_NOTIFY_CANCEL_DELETED,
|
||||
smbd_notify_cancel_deleted);
|
||||
}
|
||||
if (sconn->sys_notify_ctx == NULL) {
|
||||
sconn->sys_notify_ctx = sys_notify_context_create(
|
||||
sconn, sconn->ev_ctx);
|
||||
}
|
||||
}
|
||||
|
||||
if (lp_kernel_oplocks(snum)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user