summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lock_dlm.c
diff options
context:
space:
mode:
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>2012-03-30 19:40:28 +0530
committerIngo Molnar <mingo@kernel.org>2012-03-31 10:43:36 +0200
commite3831edd59edf57ca11fc289f08961b20baf5146 (patch)
tree70dfabd35517a97a1127df573d3770848f697e55 /fs/gfs2/lock_dlm.c
parent1f56ee7b68fecd45d25bdcf2eda7507797594424 (diff)
downloadop-kernel-dev-e3831edd59edf57ca11fc289f08961b20baf5146.zip
op-kernel-dev-e3831edd59edf57ca11fc289f08961b20baf5146.tar.gz
sched: Fix incorrect usage of for_each_cpu_mask() in select_fallback_rq()
The function for_each_cpu_mask() expects a *pointer* to struct cpumask as its second argument, whereas select_fallback_rq() passes the value itself. And moreover, for_each_cpu_mask() has been marked as obselete in include/linux/cpumask.h. So move to the more appropriate for_each_cpu() variant. Reported-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Dave Jones <davej@redhat.com> Cc: Liu Chuansheng <chuansheng.liu@intel.com> Cc: vapier@gentoo.org Cc: rusty@rustcorp.com.au Link: http://lkml.kernel.org/r/4F75BED4.9050005@linux.vnet.ibm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/gfs2/lock_dlm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud