diff options
Diffstat (limited to 'include/linux/raid')
-rw-r--r-- | include/linux/raid/md_k.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index c200b9a34aff..b16ad867e944 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h | |||
@@ -128,7 +128,6 @@ struct mddev_s | |||
128 | #define MD_CHANGE_DEVS 0 /* Some device status has changed */ | 128 | #define MD_CHANGE_DEVS 0 /* Some device status has changed */ |
129 | #define MD_CHANGE_CLEAN 1 /* transition to or from 'clean' */ | 129 | #define MD_CHANGE_CLEAN 1 /* transition to or from 'clean' */ |
130 | #define MD_CHANGE_PENDING 2 /* superblock update in progress */ | 130 | #define MD_CHANGE_PENDING 2 /* superblock update in progress */ |
131 | #define MD_NOTIFY_ARRAY_STATE 3 /* atomic context wants to notify userspace */ | ||
132 | 131 | ||
133 | int ro; | 132 | int ro; |
134 | 133 | ||
@@ -239,6 +238,10 @@ struct mddev_s | |||
239 | sector_t resync_max; /* resync should pause | 238 | sector_t resync_max; /* resync should pause |
240 | * when it gets here */ | 239 | * when it gets here */ |
241 | 240 | ||
241 | struct sysfs_dirent *sysfs_state; /* handle for 'array_state' | ||
242 | * file in sysfs. | ||
243 | */ | ||
244 | |||
242 | spinlock_t write_lock; | 245 | spinlock_t write_lock; |
243 | wait_queue_head_t sb_wait; /* for waiting on superblock updates */ | 246 | wait_queue_head_t sb_wait; /* for waiting on superblock updates */ |
244 | atomic_t pending_writes; /* number of active superblock writes */ | 247 | atomic_t pending_writes; /* number of active superblock writes */ |