Skip to content
Commit 261e3bbf authored by Jeff Layton's avatar Jeff Layton Committed by Chuck Lever
Browse files

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: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 38762580
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment