]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/raid/md_k.h
md: use sysfs_notify_dirent to notify changes to md/dev-xxx/state
[linux-2.6-omap-h63xx.git] / include / linux / raid / md_k.h
index b16ad867e944f7845c89733ee81a0a9d42a5ef16..8fc909ef6787738b983b45243fc1786d4867fc2a 100644 (file)
@@ -115,6 +115,9 @@ struct mdk_rdev_s
                                           * in superblock.
                                           */
        struct work_struct del_work;    /* used for delayed sysfs removal */
+
+       struct sysfs_dirent *sysfs_state; /* handle for 'state'
+                                          * sysfs entry */
 };
 
 struct mddev_s