-
由 Niklas Cassel 提交于
Calling mtd_device_parse_register with the same mtd_info (e.g. registering several partitions on a single device) would add the same reboot notifier twice, causing an infinte loop in notifier_chain_register during boot up. Signed-off-by: NNiklas Cassel <nks@flawful.org> [Brian: add FIXME comments] Signed-off-by: NBrian Norris <computersforpeace@gmail.com> Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
e1dd8641