From: NeilBrown <neilb@suse.de>
Subject: kabi fix for SUNRPC: Fix NFSD's request deferral on RDMA transports
Patch-mainline: never, kabi
References: git-fixes
struct svc_deferred_req is only ever used inside svc_xprt.c, so
there is no harm to the kabi if it is changed.
Elsewhere might use a pointer to the struct, but not the struct content.
Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: NeilBrown <neilb@suse.com>
---
include/linux/sunrpc/svc.h | 3 +++
1 file changed, 3 insertions(+)
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -382,7 +382,10 @@ struct svc_deferred_req {
size_t addrlen;
struct sockaddr_storage daddr; /* where reply must come from */
size_t daddrlen;
+#ifndef __GENKSYMS__
+ /* svc_deferred_req is entirely internal to svc_xport.c */
void *xprt_ctxt;
+#endif
struct cache_deferred_req handle;
size_t xprt_hlen;
int argslen;