diff options
Diffstat (limited to 'include/linux/raid/md_k.h')
-rw-r--r-- | include/linux/raid/md_k.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index 8f9a54c1fb0e..e3d17c7f954e 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h | |||
@@ -137,6 +137,8 @@ struct mddev_s | |||
137 | struct gendisk *gendisk; | 137 | struct gendisk *gendisk; |
138 | 138 | ||
139 | struct kobject kobj; | 139 | struct kobject kobj; |
140 | int hold_active; | ||
141 | #define UNTIL_IOCTL 1 | ||
140 | 142 | ||
141 | /* Superblock information */ | 143 | /* Superblock information */ |
142 | int major_version, | 144 | int major_version, |
@@ -246,6 +248,8 @@ struct mddev_s | |||
246 | */ | 248 | */ |
247 | struct sysfs_dirent *sysfs_action; /* handle for 'sync_action' */ | 249 | struct sysfs_dirent *sysfs_action; /* handle for 'sync_action' */ |
248 | 250 | ||
251 | struct work_struct del_work; /* used for delayed sysfs removal */ | ||
252 | |||
249 | spinlock_t write_lock; | 253 | spinlock_t write_lock; |
250 | wait_queue_head_t sb_wait; /* for waiting on superblock updates */ | 254 | wait_queue_head_t sb_wait; /* for waiting on superblock updates */ |
251 | atomic_t pending_writes; /* number of active superblock writes */ | 255 | atomic_t pending_writes; /* number of active superblock writes */ |