aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-01-09 08:31:05 +1100
committerNeilBrown <neilb@suse.de>2009-01-09 08:31:05 +1100
commit0c3573f19d135d718264e38c46597295bd6154b7 (patch)
tree0943035f89d163d9d7b354445303fb03e5ea7fb1 /include/linux
parentmd: fix bitmap-on-external-file bug. (diff)
downloadlinux-dev-0c3573f19d135d718264e38c46597295bd6154b7.tar.xz
linux-dev-0c3573f19d135d718264e38c46597295bd6154b7.zip
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')
-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
struct sysfs_dirent *sysfs_state; /* handle for 'array_state'
* file in sysfs.
*/
+ struct sysfs_dirent *sysfs_action; /* handle for 'sync_action' */
spinlock_t write_lock;
wait_queue_head_t sb_wait; /* for waiting on superblock updates */