commit | 1d034e68e2c256640eb1f44bd7dcd89f90806ccf | [log] [tgz] |
---|---|---|
author | Anna-Maria Gleixner <anna-maria@linutronix.de> | Wed Mar 16 09:25:23 2016 +0100 |
committer | Shaohua Li <shli@fb.com> | Thu Mar 17 14:30:15 2016 -0700 |
tree | 81db1ee654b53022f3bf01b032fb131677aaa449 | |
parent | 23ddba80ebe836476bb2fa1f5ef305dd1c63dc0b [diff] |
md/raid5: Cleanup cpu hotplug notifier The raid456_cpu_notify() hotplug callback lacks handling of the CPU_UP_CANCELED case. That means if CPU_UP_PREPARE fails, the scratch buffer is leaked. Add handling for CPU_UP_CANCELED[_FROZEN] hotplug notifier transitions to free the scratch buffer. CC: Shaohua Li <shli@kernel.org> CC: linux-raid@vger.kernel.org Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de> Signed-off-by: Shaohua Li <shli@fb.com>