aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-01-08 16:31:05 -0500
committerNeilBrown <neilb@suse.de>2009-01-08 16:31:05 -0500
commit0c3573f19d135d718264e38c46597295bd6154b7 (patch)
tree0943035f89d163d9d7b354445303fb03e5ea7fb1 /include/linux/raid
parent538452700d95480c16e7aa6b10ff77cd937d33f4 (diff)
md: use sysfs_notify_dirent to notify changes to md/sync_action.
There is no compelling need for this, but sysfs_notify_dirent is a nicer interface and the change is good for consistency. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid')
-rw-r--r--include/linux/raid/md_k.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h
index 8fc909ef6787..663803eaf0de 100644
--- a/include/linux/raid/md_k.h
+++ b/include/linux/raid/md_k.h
@@ -244,6 +244,7 @@ struct mddev_s
244 struct sysfs_dirent *sysfs_state; /* handle for 'array_state' 244 struct sysfs_dirent *sysfs_state; /* handle for 'array_state'
245 * file in sysfs. 245 * file in sysfs.
246 */ 246 */
247 struct sysfs_dirent *sysfs_action; /* handle for 'sync_action' */
247 248
248 spinlock_t write_lock; 249 spinlock_t write_lock;
249 wait_queue_head_t sb_wait; /* for waiting on superblock updates */ 250 wait_queue_head_t sb_wait; /* for waiting on superblock updates */