diff options
| author | Linus Walleij <[email protected]> | 2016-06-20 09:14:26 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-06-27 22:40:30 +0000 |
| commit | 71723f95463d284004bd0afe1825e6790a0c90d0 (patch) | |
| tree | 6543dea066773786c85fed006c42cb2baa20a35c /fs/jbd2/commit.c | |
| parent | Linux 4.7-rc5 (diff) | |
| download | kernel-71723f95463d284004bd0afe1825e6790a0c90d0.tar.gz kernel-71723f95463d284004bd0afe1825e6790a0c90d0.zip | |
PM / runtime: print error when activating a child to unactive parent
The code currently silently bails out with -EBUSY if you try to
activate a child to an inactive parent.
This typically happens when you have a runtime suspended parent
and runtime resume your child, but forgot to set .ignore_children
on the parent to true with pm_suspend_ignore_children(dev).
Silently ignoring this error is not good as it gives rise to
other strange behaviour like double-resume of devices after
silently bailing out of the .runtime_resume() callback.
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
