Blob Blame History Raw
Subject: kabi fix for
From: NeilBrown <neilb@suse.de>
References: bsc#1168202
Patch-mainline: Never, kabi

Kabi fix

Acked-by: NeilBrown <neilb@suse.com>
Signed-off-by: Neil Brown <neilb@suse.com>

---
 include/linux/sunrpc/clnt.h |    4 ++++
 1 file changed, 4 insertions(+)

--- a/include/linux/sunrpc/clnt.h
+++ b/include/linux/sunrpc/clnt.h
@@ -68,6 +68,9 @@ struct rpc_clnt {
 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
 	struct dentry		*cl_debugfs;	/* debugfs directory */
 #endif
+#ifdef __GENKSYMS__
+	struct rpc_xprt_iter	cl_xpi;
+#else
 	/* cl_work is only needed after cl_xpi is no longer used,
 	 * and that are of similar size
 	 */
@@ -76,6 +79,7 @@ struct rpc_clnt {
 		struct work_struct	cl_work;
 	};
 	struct super_block *pipefs_sb;
+#endif
 };
 
 /*