diff --git a/drivers/md/md.h b/drivers/md/md.h index fe275ec346471356b18a57498e6c50102f58629e..ea67637f70825dc04dd9744720f24e1d06ebcc03 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -510,10 +510,12 @@ struct mddev { bool has_superblocks:1; +#ifndef __GENKSYMS__ /* Used to synchronize idle and frozen for action_store() */ struct mutex sync_mutex; /* The sequence number for sync thread */ atomic_t sync_seq; +#endif }; enum recovery_flags {