Re: [PATCH v3 09/22] smb: move copychunk definitions to common/smb2pdu.h

Namjae Jeon
2025-10-20T05:03:14Z

> diff --git a/fs/smb/client/smb2pdu.h b/fs/smb/client/smb2pdu.h
> index 0be63c00f848..9b5880e60a4e 100644
> --- a/fs/smb/client/smb2pdu.h
> +++ b/fs/smb/client/smb2pdu.h
> @@ -191,36 +191,12 @@ struct crt_sd_ctxt {
> struct smb3_sd sd;
> } __packed;
>
> -
> -#define COPY_CHUNK_RES_KEY_SIZE 24
> struct resume_key_req {
> char ResumeKey[COPY_CHUNK_RES_KEY_SIZE];
> __le32 ContextLength; /* MBZ */
> char Context[]; /* ignored, Windows sets to 4 bytes of zero */
> } __packed;
This can also be moved along with copychunk structures.
Thanks.