We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c4e1e commit 520138cCopy full SHA for 520138c
include/linux/genhd.h
@@ -71,6 +71,14 @@ struct hd_struct {
71
#if BITS_PER_LONG==32 && defined(CONFIG_SMP)
72
seqcount_t nr_sects_seq;
73
#endif
74
+ unsigned long stamp;
75
+#ifdef CONFIG_SMP
76
+ struct disk_stats __percpu *dkstats;
77
+#else
78
+ struct disk_stats dkstats;
79
+#endif
80
+ struct percpu_ref ref;
81
+
82
sector_t alignment_offset;
83
unsigned int discard_alignment;
84
struct device __dev;
@@ -80,13 +88,6 @@ struct hd_struct {
88
#ifdef CONFIG_FAIL_MAKE_REQUEST
89
int make_it_fail;
90
- unsigned long stamp;
-#ifdef CONFIG_SMP
85
- struct disk_stats __percpu *dkstats;
86
-#else
87
- struct disk_stats dkstats;
-#endif
- struct percpu_ref ref;
91
struct rcu_work rcu_work;
92
};
93
0 commit comments