Re: [PATCH v5 12/14] smb: move FILE_SYSTEM_ATTRIBUTE_INFO to common/fscc.h

From: ChenXiaoSong

Date: Wed Nov 12 2025 - 21:21:37 EST


It seems that the client side does not use FileSystemName[52], so I will try modifying it to use a flexible array.

Thanks,
ChenXiaoSong.

On 11/13/25 9:56 AM, ChenXiaoSong wrote:
In the client-side code, SMB2_QFS_attr() needs to get the maximum and minimum lengths of the FileFsAttributeInformation. Using a flexible array would require more extensive changes.

Thanks,
ChenXiaoSong.

On 11/13/25 9:23 AM, Namjae Jeon wrote:
Is there any reason why we can not use flex-array ?
Thanks.