]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita49e930c0812fda75083ed56985161449cca9aeb
tree22943678121913e804dca81feb616f8cf77082a2
parent867fdffebd75fa76eaf6bd4b84aeca90d75ef004
[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