kernel_samsung_a53x/include/linux/lockd
Chuck Lever a90593a639 SUNRPC: Change return value type of .pc_encode
[ Upstream commit 130e2054d4a652a2bd79fb1557ddcd19c053cb37 ]

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_encode 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_encode 2024-11-19 12:27:48 +01:00
xdr4.h SUNRPC: Change return value type of .pc_encode 2024-11-19 12:27:48 +01:00