kernel_samsung_a53x/include/linux/sunrpc
Chuck Lever c2c171b3d2 SUNRPC: Fix xdr_encode_bool()
[ Upstream commit c770f31d8f580ed4b965c64f924ec1cc50e41734 ]

I discovered that xdr_encode_bool() was returning the same address
that was passed in the @p parameter. The documenting comment states
that the intent is to return the address of the next buffer
location, just like the other "xdr_encode_*" helpers.

The result was the encoded results of NFSv3 PATHCONF operations were
not formed correctly.

Fixes: ded04a587f6c ("NFSD: Update the NFSv3 PATHCONF3res encoder to use struct xdr_stream")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:59 +01:00
..
addr.h
auth.h
auth_gss.h
bc_xprt.h
cache.h
clnt.h
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_krb5_enctypes.h
metrics.h
msg_prot.h SUNRPC: Move definition of XDR_UNIT 2024-11-19 12:27:28 +01:00
rpc_pipe_fs.h
rpc_rdma.h
rpc_rdma_cid.h
sched.h
stats.h
svc.h NFSD: Move svc_serv_ops::svo_function into struct svc_serv 2024-11-19 12:27:54 +01:00
svc_rdma.h SUNRPC: Rename svc_encode_read_payload() 2024-11-19 12:27:20 +01:00
svc_xprt.h SUNRPC: Remove svc_shutdown_net() 2024-11-19 12:27:54 +01:00
svcauth.h SUNRPC: Add svc_rqst::rq_auth_stat 2024-11-19 12:27:45 +01:00
svcauth_gss.h
svcsock.h
timer.h
types.h
xdr.h SUNRPC: Fix xdr_encode_bool() 2024-11-19 12:27:59 +01:00
xprt.h
xprtmultipath.h
xprtrdma.h
xprtsock.h