aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-07-19 01:08:51 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-07-19 01:08:51 -0400
commitb6d786dbe6fc19b51edd6cf6de84fd65b702c800 (patch)
tree999b39ed26d3c51278d469f5ea7c1d5a7b49eaaa /drivers/scsi
parentcb78623517ca08a035a3f69c0ca6d68a0123e649 (diff)
Input: add missing handler->start() call
The start() method need to be called every time we create a new handle. This includes not only registering new devices but also when registering new handlers. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions
span> struct mm_struct *mm = task->mm; struct task_struct *p, *t; bool ret; if (atomic_read(&task->signal->live) != 1) return false; if (atomic_read(&mm->mm_users) == 1) return true; ret = false; rcu_read_lock(); for_each_process(p) { if (unlikely(p->flags & PF_KTHREAD)) continue; if (unlikely(p == task->group_leader)) continue; t = p; do { if (unlikely(t->mm == mm)) goto found; if (likely(t->mm)) break; /* * t->mm == NULL. Make sure next_thread/next_task * will see other CLONE_VM tasks which might be * forked before exiting. */ smp_rmb(); } while_each_thread(p, t); } ret = true; found: rcu_read_unlock(); return ret; }