freezer: exec should clear PF_NOFREEZE along with PF_KTHREAD
authorOleg Nesterov <oleg@redhat.com>
Thu, 25 Oct 2012 20:28:12 +0000 (22:28 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Oct 2012 20:28:12 +0000 (22:28 +0200)
commitb40a79591ca918e7b91b0d9b6abd5d00f2e88c19
treec02916f789723f6479e55aa46cd01bf36238dea1
parente37736777254ce1abc85493a5cacbefe5983b896
freezer: exec should clear PF_NOFREEZE along with PF_KTHREAD

flush_old_exec() clears PF_KTHREAD but forgets about PF_NOFREEZE.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
fs/exec.c