Re: [PATCH v4 05/24] smb: move some duplicate definitions to common/smb1pdu.h
From: ChenXiaoSong
Date: Mon Oct 27 2025 - 23:58:11 EST
Would it be harder to maintain if only part of the definitions are moved?
Moving the related definitions together would make maintenance easier, that's just my personal opinion.
On 10/28/25 11:42 AM, Namjae Jeon wrote:
On Mon, Oct 27, 2025 at 4:15 PM <chenxiaosong.chenxiaosong@xxxxxxxxx> wrote:
ksmbd does not use all smb1 pdus. Instead of moving all smb1 definitions,
From: ChenXiaoSong <chenxiaosong@xxxxxxxxxx>
In order to maintain the code more easily, move duplicate definitions to
new common header file.
Signed-off-by: ChenXiaoSong <chenxiaosong@xxxxxxxxxx>
Suggested-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>
move the ones ksmbd uses to smb1pdu.h.
Thanks.
--
Thanks,
ChenXiaoSong.