aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/genhd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r--include/linux/genhd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index fd647fde5ec1..eea61cc8fac1 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -78,6 +78,9 @@ struct hd_struct {
78 sector_t start_sect; 78 sector_t start_sect;
79 sector_t nr_sects; 79 sector_t nr_sects;
80 struct kobject kobj; 80 struct kobject kobj;
81#ifdef CONFIG_SYSFS
82 struct kobject *holder_dir;
83#endif
81 unsigned ios[2], sectors[2]; /* READs and WRITEs */ 84 unsigned ios[2], sectors[2]; /* READs and WRITEs */
82 int policy, partno; 85 int policy, partno;
83}; 86};
@@ -114,6 +117,10 @@ struct gendisk {
114 int number; /* more of the same */ 117 int number; /* more of the same */
115 struct device *driverfs_dev; 118 struct device *driverfs_dev;
116 struct kobject kobj; 119 struct kobject kobj;
120#ifdef CONFIG_SYSFS
121 struct kobject *holder_dir;
122 struct kobject *slave_dir;
123#endif
117 124
118 struct timer_rand_state *random; 125 struct timer_rand_state *random;
119 int policy; 126 int policy;