aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2024-08-28 21:42:55 +0000
committerChuck Lever <[email protected]>2024-09-20 23:31:03 +0000
commit2869b3a00e202ee8d3d90ab7d88f4057c4bb3135 (patch)
tree66a6019c086e5a03c8faee6fb80c043fc102bd9a /fs/ext4/fast_commit.c
parentnfsd: call cache_put if xdr_reserve_space returns NULL (diff)
downloadkernel-2869b3a00e202ee8d3d90ab7d88f4057c4bb3135.tar.gz
kernel-2869b3a00e202ee8d3d90ab7d88f4057c4bb3135.zip
NFSD: Annotate struct pnfs_block_deviceaddr with __counted_by()
Add the __counted_by compiler attribute to the flexible array member volumes to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE. Use struct_size() instead of manually calculating the number of bytes to allocate for a pnfs_block_deviceaddr with a single volume. Signed-off-by: Thorsten Blum <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Acked-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions