linux-stable/include/linux/lockd
Chuck Lever 130e2054d4 SUNRPC: Change return value type of .pc_encode
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>
2021-10-13 11:34:49 -04:00
..
bind.h Keep read and write fds with each nlm_file 2021-08-23 18:05:31 -04:00
debug.h lockd: remove __KERNEL__ ifdefs 2019-11-12 11:43:29 -05:00
lockd.h Keep read and write fds with each nlm_file 2021-08-23 18:05:31 -04:00
nlm.h
share.h
xdr.h SUNRPC: Change return value type of .pc_encode 2021-10-13 11:34:49 -04:00
xdr4.h SUNRPC: Change return value type of .pc_encode 2021-10-13 11:34:49 -04:00