MD removal and condition code bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Radek Vykydal <rvykydal@xxxxxxxxxx> encountered a problem with md devices. If the raid is about to be removed a "change" and "remove" event is sent. The "change" event has to be skipped if ATTR{md/array_state} is empty, but somehow the condition does not match, which might point to a bug in the condition code.
The following patch is needed:

< ATTR{md/array_state}=="|clear|inactive", GOTO="md_end"
---
> ATTR{md/array_state}=="clear|inactive", GOTO="md_end"
> ATTR(md/array_state}!="?*", GOTO="md_end"
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux