linux/fs/smb/common
Gustavo A. R. Silva 5b4f3af39b smb: smb2pdu.h: Use static_assert() to check struct sizes
Commit 9f9bef9bc5 ("smb: smb2pdu.h: Avoid -Wflex-array-member-not-at-end
warnings") introduced tagged `struct create_context_hdr`. We want to
ensure that when new members need to be added to the flexible structure,
they are always included within this tagged struct.

So, we use `static_assert()` to ensure that the memory layout for
both the flexible structure and the tagged struct is the same after
any changes.

Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-08-15 16:06:55 -05:00
..
arc4.h
cifs_arc4.c fs: smb: common: add missing MODULE_DESCRIPTION() macros 2024-05-27 00:44:23 -05:00
cifs_md4.c fs: smb: common: add missing MODULE_DESCRIPTION() macros 2024-05-27 00:44:23 -05:00
Makefile
md4.h
smb2pdu.h smb: smb2pdu.h: Use static_assert() to check struct sizes 2024-08-15 16:06:55 -05:00
smbfsctl.h smb: client: add support for WSL reparse points 2024-03-10 19:33:58 -05:00