aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/raid')
-rw-r--r--include/linux/raid/md_k.h7
-rw-r--r--include/linux/raid/raid5.h1
2 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h
index cb8b44d1588b..4169c11e5451 100644
--- a/include/linux/raid/md_k.h
+++ b/include/linux/raid/md_k.h
@@ -282,6 +282,13 @@ struct mdk_personality_s
282}; 282};
283 283
284 284
285struct md_sysfs_entry {
286 struct attribute attr;
287 ssize_t (*show)(mddev_t *, char *);
288 ssize_t (*store)(mddev_t *, const char *, size_t);
289};
290
291
285static inline char * mdname (mddev_t * mddev) 292static inline char * mdname (mddev_t * mddev)
286{ 293{
287 return mddev->gendisk ? mddev->gendisk->disk_name : "mdX"; 294 return mddev->gendisk ? mddev->gendisk->disk_name : "mdX";
diff --git a/include/linux/raid/raid5.h b/include/linux/raid/raid5.h
index 5f4e945c8083..f025ba6fb14c 100644
--- a/include/linux/raid/raid5.h
+++ b/include/linux/raid/raid5.h
@@ -228,7 +228,6 @@ struct raid5_private_data {
228 * Cleared when a sync completes. 228 * Cleared when a sync completes.
229 */ 229 */
230 230
231 struct kobject kobj;
232 /* 231 /*
233 * Free stripes pool 232 * Free stripes pool
234 */ 233 */