Freezer: Only show the state of tasks refusing to freeze
authorXiaotian Feng <dfeng@redhat.com>
Wed, 10 Mar 2010 21:59:13 +0000 (22:59 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 26 Mar 2010 22:51:13 +0000 (23:51 +0100)
commit4f598458ea4450f53e8ed929ee4e66b3404a7286
tree7947a560c241edc3320436406b13cdbb464bb202
parente1ee65d85904c5dd4b9cea1b15d5e85e20eae8a1
Freezer: Only show the state of tasks refusing to freeze

show_state will dump all tasks state, so if freezer failed to freeze
any task, kernel will dump all tasks state and flood the dmesg log.
This patch makes freezer only show state of tasks refusing to freeze.

Signed-off-by: Xiaotian Feng <dfeng@redhat.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/process.c