aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2005-11-09 00:39:23 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:36 -0500
commiteae1701fbd264cfc7efbaf7cd4cd999760070e27 (patch)
tree6605cca37d4c605217b7accffe7f94f81d37f0dd /include
parent4e5314b56a7ea11c7a5f2b8418992b2f49648a25 (diff)
[PATCH] md: initial sysfs support for md
Start using kobjects in mddevs, and provide a couple of simple attributes (level and disks). Attributes live in /sys/block/mdX/md/attr-name Signed-off-by: Neil Brown <neilb@suse.de> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/raid/md_k.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h
index ebce949b1443..a9b0e47a3d04 100644
--- a/include/linux/raid/md_k.h
+++ b/include/linux/raid/md_k.h
@@ -148,6 +148,8 @@ struct mddev_s
148 148
149 struct gendisk *gendisk; 149 struct gendisk *gendisk;
150 150
151 struct kobject kobj;
152
151 /* Superblock information */ 153 /* Superblock information */
152 int major_version, 154 int major_version,
153 minor_version, 155 minor_version,