]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Make cache_req::thread_wait an unsigned long
authorChuck Lever <chuck.lever@oracle.com>
Fri, 1 Apr 2022 17:10:31 +0000 (13:10 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 19 May 2022 16:25:39 +0000 (12:25 -0400)
commit67aed7f0eecd3890caeab4b319d7ee1650aca1ff
tree0ac08c22c9d351b2cf2a0c24551d1a6cd4a30b91
parent9d9b2c79e369b1bebf3696019d3a826cd07c25fd
SUNRPC: Make cache_req::thread_wait an unsigned long

The second parameter of wait_for_completion_interruptible_timeout()
is a jiffies value whose type is "unsigned long". Avoid an
unnecessary and potentially fraught implicit type conversion at the
wait_for_completion_interruptible_timeout() call site in
cache_wait_req().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/cache.h