Re: [PATCH v3 03/16] lockdep: remove task argument from debug_check_no_locks_held

2013-05-07 Thread Pavel Machek
On Mon 2013-05-06 16:50:08, Colin Cross wrote: > The only existing caller to debug_check_no_locks_held calls it > with 'current' as the task, and the freezer needs to call > debug_check_no_locks_held but doesn't already have a current > task pointer, so remove the argument. It is already assuming

[PATCH v3 03/16] lockdep: remove task argument from debug_check_no_locks_held

2013-05-06 Thread Colin Cross
The only existing caller to debug_check_no_locks_held calls it with 'current' as the task, and the freezer needs to call debug_check_no_locks_held but doesn't already have a current task pointer, so remove the argument. It is already assuming that the current task is relevant by dumping the curren