Blob Blame History Raw
From: Johannes Thumshirn <jthumshirn@suse.de>
Subject: KABI protect struct nd_region
Date: Wed  4 Jul 16:33:59 CEST 2018
References: FATE#324634
Patch-mainline: Never, KABI only

KABI protect struct nd_region.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
 drivers/nvdimm/nd.h |    2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/nvdimm/nd.h
+++ b/drivers/nvdimm/nd.h
@@ -161,7 +161,9 @@ struct nd_region {
 	u64 ndr_start;
 	int id, num_lanes, ro, numa_node;
 	void *provider_data;
+#ifndef __GENKSYMS__
 	struct kernfs_node *bb_state;
+#endif
 	struct badblocks bb;
 	struct nd_interleave_set *nd_set;
 	struct nd_percpu_lane __percpu *lane;