diff options
| author | Srivatsa S. Bhat <[email protected]> | 2011-12-07 21:29:54 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2011-12-08 22:22:29 +0000 |
| commit | bcda53faf5814c0c6025a0bd47108adfcbe9f199 (patch) | |
| tree | a8768204a16b24436f33fac00c1bb4dcfb4fafd5 /fs/btrfs/async-thread.c | |
| parent | PM / Sleep: Make [un]lock_system_sleep() generic (diff) | |
| download | kernel-bcda53faf5814c0c6025a0bd47108adfcbe9f199.tar.gz kernel-bcda53faf5814c0c6025a0bd47108adfcbe9f199.zip | |
PM / Sleep: Replace mutex_[un]lock(&pm_mutex) with [un]lock_system_sleep()
Using [un]lock_system_sleep() is safer than directly using mutex_[un]lock()
on 'pm_mutex', since the latter could lead to freezing failures. Hence convert
all the present users of mutex_[un]lock(&pm_mutex) to use these safe APIs
instead.
Suggested-by: Tejun Heo <[email protected]>
Signed-off-by: Srivatsa S. Bhat <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
