aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2011-01-06 23:38:57 +0100
committerLen Brown <[email protected]>2011-01-12 05:05:39 -0500
commitd0515d9fec68bace144fda57a69f4268fb875209 (patch)
tree5191b7e21adefacc8fdd8c5b45ae1fcdd03a5aa8 /fs/jbd2/commit.c
parent36237fa0a711c309a38d7a7a9aed727e0eb76449 (diff)
ACPI / PM: Check status of power resources under mutexes
It certainly is not a good idea to execute _ON or _OFF and _STA for the same power resource at the same time which may happen in some circumstances in theory. To prevent that from happening, read the power state of each power resource under its mutex, as that will prevent the state from being changed at the same time. Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions