diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2026-02-18 01:07:10 +0300 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2026-03-30 04:25:09 +0300 |
| commit | 5076fff93ce68cd13890b8f86099571ac2442ae3 (patch) | |
| tree | f51a4826290884c468a59056790f4ad1b5447b62 /include/linux/raid | |
| parent | d4fc8bc100353096f87ad1c052df9e7073696510 (diff) | |
| download | linux-5076fff93ce68cd13890b8f86099571ac2442ae3.tar.xz | |
lockd: Use xdrgen XDR functions for the NLMv4 GRANTED_RES procedure
Convert the GRANTED_RES procedure to use xdrgen functions
nlm4_svc_decode_nlm4_res and nlm4_svc_encode_void.
GRANTED_RES is a callback procedure where the client sends
granted lock results back to the server after an async
GRANTED request.
The pc_argzero field is set to zero because xdrgen decoders
reliably initialize all arguments, making the early
defensive memset unnecessary.
This change also corrects the pc_xdrressize field, which
previously contained a placeholder value.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions
