Commit 51d92d69 authored by Steve French's avatar Steve French

smb3: Add defines for new information level, FileIdInformation

See MS-FSCC 2.4.43.  Valid to be quried from most
Windows servers (among others).
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Reviewed-by: default avatarAurelien Aptel <aaptel@suse.com>
parent ab3459d8
...@@ -1519,6 +1519,7 @@ struct smb3_fs_vol_info { ...@@ -1519,6 +1519,7 @@ struct smb3_fs_vol_info {
#define FILE_NORMALIZED_NAME_INFORMATION 48 #define FILE_NORMALIZED_NAME_INFORMATION 48
#define FILEID_GLOBAL_TX_DIRECTORY_INFORMATION 50 #define FILEID_GLOBAL_TX_DIRECTORY_INFORMATION 50
#define FILE_STANDARD_LINK_INFORMATION 54 #define FILE_STANDARD_LINK_INFORMATION 54
#define FILE_ID_INFORMATION 59
struct smb2_file_internal_info { struct smb2_file_internal_info {
__le64 IndexNumber; __le64 IndexNumber;
...@@ -1593,6 +1594,13 @@ struct smb2_file_network_open_info { ...@@ -1593,6 +1594,13 @@ struct smb2_file_network_open_info {
__le32 Reserved; __le32 Reserved;
} __packed; /* level 34 Query also similar returned in close rsp and open rsp */ } __packed; /* level 34 Query also similar returned in close rsp and open rsp */
/* See MS-FSCC 2.4.43 */
struct smb2_file_id_information {
__le64 VolumeSerialNumber;
__u64 PersistentFileId; /* opaque endianness */
__u64 VolatileFileId; /* opaque endianness */
} __packed; /* level 59 */
extern char smb2_padding[7]; extern char smb2_padding[7];
/* equivalent of the contents of SMB3.1.1 POSIX open context response */ /* equivalent of the contents of SMB3.1.1 POSIX open context response */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment