smb3: add missing worker function for SMB3 change notify
SMB3 change notify is important to allow applications to wait on directory change events of different types (e.g. adding and deleting files from others systems). Add worker functions for this. Acked-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
@@ -235,6 +235,8 @@ DEFINE_EVENT(smb3_inf_enter_class, smb3_##name, \
|
||||
|
||||
DEFINE_SMB3_INF_ENTER_EVENT(query_info_enter);
|
||||
DEFINE_SMB3_INF_ENTER_EVENT(query_info_done);
|
||||
DEFINE_SMB3_INF_ENTER_EVENT(notify_enter);
|
||||
DEFINE_SMB3_INF_ENTER_EVENT(notify_done);
|
||||
|
||||
DECLARE_EVENT_CLASS(smb3_inf_err_class,
|
||||
TP_PROTO(unsigned int xid,
|
||||
@@ -281,6 +283,7 @@ DEFINE_EVENT(smb3_inf_err_class, smb3_##name, \
|
||||
|
||||
DEFINE_SMB3_INF_ERR_EVENT(query_info_err);
|
||||
DEFINE_SMB3_INF_ERR_EVENT(set_info_err);
|
||||
DEFINE_SMB3_INF_ERR_EVENT(notify_err);
|
||||
DEFINE_SMB3_INF_ERR_EVENT(fsctl_err);
|
||||
|
||||
DECLARE_EVENT_CLASS(smb3_inf_compound_enter_class,
|
||||
|
Reference in New Issue
Block a user