diff options
author | Jeff Layton <jlayton@kernel.org> | 2025-03-03 12:26:03 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-03-10 09:11:12 -0400 |
commit | 261e3bbf9747e9c7c87b3bce519df94754e24ed8 (patch) | |
tree | e9787ef918d8f64ba7aaa97fccce5e4ec0fed568 /include/linux/overflow.h | |
parent | 387625808c45ccd46350440436f4a2f5cec4d04a (diff) | |
download | linux-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 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions