mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
smb: move file_notify_information to common/fscc.h
This struct definition is specified in MS-FSCC, and KSMBD will also use it, so move it into common header file. Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
committed by
Steve French
parent
6539e18517
commit
08c2a7d2ba
@@ -144,6 +144,17 @@ typedef struct {
|
||||
__le32 DeviceCharacteristics;
|
||||
} __packed FILE_SYSTEM_DEVICE_INFO; /* device info level 0x104 */
|
||||
|
||||
/*
|
||||
* Response contains array of the following structures
|
||||
* See MS-FSCC 2.7.1
|
||||
*/
|
||||
struct file_notify_information {
|
||||
__le32 NextEntryOffset;
|
||||
__le32 Action;
|
||||
__le32 FileNameLength;
|
||||
__u8 FileName[];
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* See POSIX Extensions to MS-FSCC 2.3.2.1
|
||||
* Link: https://gitlab.com/samba-team/smb3-posix-spec/-/blob/master/fscc_posix_extensions.md
|
||||
|
||||
Reference in New Issue
Block a user