]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
md: use sysfs_notify_dirent to notify changes to md/array_state
authorNeilBrown <neilb@suse.de>
Tue, 21 Oct 2008 02:25:21 +0000 (13:25 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 21 Oct 2008 02:25:21 +0000 (13:25 +1100)
commitb62b75905d571c29262a6c38cf9e5f089c203871
tree0ca9a74c1d53aad0532aaebebb031b9d8edc5d90
parent0cfd81031a26717fe14380d18275f8e217571615
md: use sysfs_notify_dirent to notify changes to md/array_state

Now that we have sysfs_notify_dirent, use it to notify changes
to md/array_state.
As sysfs_notify_dirent can be called in atomic context, we can
remove the delayed notify and the MD_NOTIFY_ARRAY_STATE flag.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
include/linux/raid/md_k.h