Skip to content

Commit c975033

Browse files
ChenXiaoSongsmfrench
authored andcommitted
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>
1 parent 08c2a7d commit c975033

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fs/smb/common/smb2pdu.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,9 +1545,10 @@ struct duplicate_extents_to_file {
15451545
__le64 ByteCount; /* Bytes to be copied */
15461546
} __packed;
15471547

1548-
/* See MS-FSCC 2.3.8 */
1548+
/* See MS-FSCC 2.3.9 */
15491549
#define DUPLICATE_EXTENTS_DATA_EX_SOURCE_ATOMIC 0x00000001
15501550
struct duplicate_extents_to_file_ex {
1551+
__le64 StructureSize; /* MUST be set to 0x30 */
15511552
__u64 PersistentFileHandle; /* source file handle, opaque endianness */
15521553
__u64 VolatileFileHandle;
15531554
__le64 SourceFileOffset;

0 commit comments

Comments
 (0)