freezer: remove unused @sig_only from freeze_task()
authorTejun Heo <tj@kernel.org>
Mon, 21 Nov 2011 20:32:26 +0000 (12:32 -0800)
committerTejun Heo <tj@kernel.org>
Mon, 21 Nov 2011 20:32:26 +0000 (12:32 -0800)
commit839e3407d90a810318d17c17ceb3d5928a910704
tree9b75e8f69cadba5d33537698931cf637a22d423b
parent37ad8aca94a1da2112a7c56151390914e80d1113
freezer: remove unused @sig_only from freeze_task()

After "freezer: make freezing() test freeze conditions in effect
instead of TIF_FREEZE", freezing() returns authoritative answer on
whether the current task should freeze or not and freeze_task()
doesn't need or use @sig_only.  Remove it.

While at it, rewrite function comment for freeze_task() and rename
@sig_only to @user_only in try_to_freeze_tasks().

This patch doesn't cause any functional change.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
include/linux/freezer.h
kernel/cgroup_freezer.c
kernel/freezer.c
kernel/power/process.c