From: NeilBrown Date: Tue, 21 Oct 2008 02:25:28 +0000 (+1100) Subject: md: use sysfs_notify_dirent to notify changes to md/dev-xxx/state X-Git-Tag: v2.6.28-rc3~102^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c0ee63a64a20351ed6c16ec797e1f8c850741ea;p=pandora-kernel.git md: use sysfs_notify_dirent to notify changes to md/dev-xxx/state The 'state' file for a device reports, for example, when the device has failed. Changes should be reported to userspace ASAP without the possibility of blocking on low-memory. sysfs_notify does have that possibility (as it takes a mutex which can be held across a kmalloc) so use sysfs_notify_dirent instead. Signed-off-by: NeilBrown --- Reading git-diff-tree failed