kernel_samsung_a53x/include/linux/lockd
Chuck Lever 876bbff0f3 SUNRPC: Change return value type of .pc_decode
[ Upstream commit c44b31c263798ec34614dd394c31ef1a2e7e716e ]

Returning an undecorated integer is an age-old trope, but it's
not clear (even to previous experts in this code) that the only
valid return values are 1 and 0. These functions do not return
a negative errno, rpc_stat value, or a positive length.

Document there are only two valid return values by having
.pc_decode return only true or false.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:48 +01:00
..
bind.h Keep read and write fds with each nlm_file 2024-11-19 12:27:44 +01:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lockd.h Keep read and write fds with each nlm_file 2024-11-19 12:27:44 +01:00
nlm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
share.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xdr.h SUNRPC: Change return value type of .pc_decode 2024-11-19 12:27:48 +01:00
xdr4.h SUNRPC: Change return value type of .pc_decode 2024-11-19 12:27:48 +01:00