diff options
| author | ChenXiaoSong <chenxiaosong@kylinos.cn> | 2025-12-01 14:59:38 +0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-12-11 00:52:54 -0600 |
| commit | c97503321ed3fde6e53320b388ea23118d2473d7 (patch) | |
| tree | 44893d60fbf542d3fd1eb246757de94321604671 | |
| parent | 08c2a7d2bae9175e55e5b47e77de74a2cd8ee6b7 (diff) | |
smb: update struct duplicate_extents_to_file_ex
Add the missing field to the structure (see MS-FSCC 2.3.9.2), and correct
the section number in the documentation reference.
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
| -rw-r--r-- | fs/smb/common/smb2pdu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/smb/common/smb2pdu.h b/fs/smb/common/smb2pdu.h index 950aadade401..6575333e6f47 100644 --- a/fs/smb/common/smb2pdu.h +++ b/fs/smb/common/smb2pdu.h @@ -1545,9 +1545,10 @@ struct duplicate_extents_to_file { __le64 ByteCount; /* Bytes to be copied */ } __packed; -/* See MS-FSCC 2.3.8 */ +/* See MS-FSCC 2.3.9 */ #define DUPLICATE_EXTENTS_DATA_EX_SOURCE_ATOMIC 0x00000001 struct duplicate_extents_to_file_ex { + __le64 StructureSize; /* MUST be set to 0x30 */ __u64 PersistentFileHandle; /* source file handle, opaque endianness */ __u64 VolatileFileHandle; __le64 SourceFileOffset; |
