diff options
author | Steve French <stfrench@microsoft.com> | 2020-02-06 12:32:03 -0600 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-02-06 17:32:24 -0600 |
commit | 51d92d69f77b121d8093af82eb3bd2e8e631be55 (patch) | |
tree | 8644b064f81b291f51830a9a458d4d9900a3ca8a /fs/cifs/smb2pdu.h | |
parent | ab3459d8f0ef52c38119ed58c4c29139efc7022c (diff) | |
download | linux-51d92d69f77b121d8093af82eb3bd2e8e631be55.tar.bz2 |
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: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
-rw-r--r-- | fs/cifs/smb2pdu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index ca2123d7f199..fa03df130f1a 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -1519,6 +1519,7 @@ struct smb3_fs_vol_info { #define FILE_NORMALIZED_NAME_INFORMATION 48 #define FILEID_GLOBAL_TX_DIRECTORY_INFORMATION 50 #define FILE_STANDARD_LINK_INFORMATION 54 +#define FILE_ID_INFORMATION 59 struct smb2_file_internal_info { __le64 IndexNumber; @@ -1593,6 +1594,13 @@ struct smb2_file_network_open_info { __le32 Reserved; } __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]; /* equivalent of the contents of SMB3.1.1 POSIX open context response */ |