diff options
| author | Wilfred Mallawa <wilfred.mallawa@wdc.com> | 2026-02-11 13:29:04 +1000 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-02-25 13:58:50 +0100 |
| commit | 650b774cf94495465d6a38c31bb1a6ce697b6b37 (patch) | |
| tree | 3136c694b06f37e13ba5bd6793911ef7ea023416 /include/linux | |
| parent | e97cbf863d8918452c9f81bebdade8d04e2e7b60 (diff) | |
xfs: add static size checks for ioctl UABI
The ioctl structures in libxfs/xfs_fs.h are missing static size checks.
It is useful to have static size checks for these structures as adding
new fields to them could cause issues (e.g. extra padding that may be
inserted by the compiler). So add these checks to xfs/xfs_ondisk.h.
Due to different padding/alignment requirements across different
architectures, to avoid build failures, some structures are ommited from
the size checks. For example, structures with "compat_" definitions in
xfs/xfs_ioctl32.h are ommited.
Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
