diff options
| author | Lianwei Wang <lianwei.wang@gmail.com> | 2016-06-09 23:43:28 -0700 |
|---|---|---|
| committer | Lianwei Wang <lianwei.wang@gmail.com> | 2016-10-22 23:54:57 -0700 |
| commit | a3c8dc25c446485dcbf8a978f755eead9eac3671 (patch) | |
| tree | 8864f8cc65f6a12f7677f922475b7d468399c5d9 /fs/btrfs/tree-log.c | |
| parent | 4a8b645cef3caa87b85269078d9e1f02115107b6 (diff) | |
UPSTREAM: cpu/hotplug: Handle unbalanced hotplug enable/disable
(cherry picked from commit 01b41159066531cc8d664362ff0cd89dd137bbfa)
When cpu_hotplug_enable() is called unbalanced w/o a preceeding
cpu_hotplug_disable() the code emits a warning, but happily decrements the
disabled counter. This causes the next operations to malfunction.
Prevent the decrement and just emit a warning.
Signed-off-by: Lianwei Wang <lianwei.wang@gmail.com>
Cc: peterz@infradead.org
Cc: linux-pm@vger.kernel.org
Cc: oleg@redhat.com
Link: http://lkml.kernel.org/r/1465541008-12476-1-git-send-email-lianwei.wang@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
