mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] dm-md-dependency-tree-in-sysfs-holders-slaves-subdirectory-tidy
Remove all the CONFIG_SYSFS stuff. That's supposed to all be implemented up in header files. Yes, the CONFIG_SYSFS=n data structures will be a little larger than necessary, but that's a tradeoff we can decide to make. Cc: Jun'ichi Nomura <[email protected]> Cc: Alasdair G Kergon <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6a4d44c1f1
commit
100873687d
2 changed files with 0 additions and 13 deletions
|
|
@ -78,9 +78,7 @@ struct hd_struct {
|
|||
sector_t start_sect;
|
||||
sector_t nr_sects;
|
||||
struct kobject kobj;
|
||||
#ifdef CONFIG_SYSFS
|
||||
struct kobject *holder_dir;
|
||||
#endif
|
||||
unsigned ios[2], sectors[2]; /* READs and WRITEs */
|
||||
int policy, partno;
|
||||
};
|
||||
|
|
@ -117,10 +115,8 @@ struct gendisk {
|
|||
int number; /* more of the same */
|
||||
struct device *driverfs_dev;
|
||||
struct kobject kobj;
|
||||
#ifdef CONFIG_SYSFS
|
||||
struct kobject *holder_dir;
|
||||
struct kobject *slave_dir;
|
||||
#endif
|
||||
|
||||
struct timer_rand_state *random;
|
||||
int policy;
|
||||
|
|
|
|||
Loading…
Reference in a new issue