summaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-03-03 12:26:03 -0500
committerChuck Lever <chuck.lever@oracle.com>2025-03-10 09:11:12 -0400
commit261e3bbf9747e9c7c87b3bce519df94754e24ed8 (patch)
treee9787ef918d8f64ba7aaa97fccce5e4ec0fed568 /rust/helpers/build_bug.c
parent387625808c45ccd46350440436f4a2f5cec4d04a (diff)
downloadlinux-261e3bbf9747e9c7c87b3bce519df94754e24ed8.tar.gz
linux-261e3bbf9747e9c7c87b3bce519df94754e24ed8.tar.bz2
linux-261e3bbf9747e9c7c87b3bce519df94754e24ed8.zip
nfsd: use a long for the count in nfsd4_state_shrinker_count()
If there are no courtesy clients then the return value from the atomic_long_read() could overflow an int. Use a long to store the value instead. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions