Commit e8e26a0b authored by Thorsten Blum's avatar Thorsten Blum Committed by Trond Myklebust
Browse files

nfs: Annotate struct pnfs_commit_array with __counted_by()



Add the __counted_by compiler attribute to the flexible array member
buckets to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.

Compile-tested only.

Signed-off-by: default avatarThorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 79a66e14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment