[PATCH] md: change ONLINE/OFFLINE events to a single CHANGE event
authorNeilBrown <neilb@suse.de>
Thu, 9 Nov 2006 01:44:47 +0000 (17:44 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 9 Nov 2006 02:29:23 +0000 (18:29 -0800)
commit2f4713036114dd13d1f4fe433b7f236250b65f5a
tree22943678121913e804dca81feb616f8cf77082a2
parentb5b9df697b166948f2770fb65d1b8809637a199b
[PATCH] md: change ONLINE/OFFLINE events to a single CHANGE event

It turns out that CHANGE is preferred to ONLINE/OFFLINE for various reasons
(not least of which being that udev understands it already).

So remove the recently added KOBJ_OFFLINE (no-one is likely to care anyway)
and change the ONLINE to a CHANGE event

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c