security/device_cgroup: Fix RCU_LOCKDEP_WARN() condition
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 3 Sep 2015 00:11:22 +0000 (17:11 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 4 Sep 2015 01:13:10 +0000 (18:13 -0700)
commitdc3a04d551b5d21f1badbb39bfe8e5bc1289b184
tree52fa90b97123f88e22d498e1676cf0c65431a96b
parent12d560f4ea87030667438a169912380be00cea4b
security/device_cgroup: Fix RCU_LOCKDEP_WARN() condition

f78f5b90c4ff ("rcu: Rename rcu_lockdep_assert() to RCU_LOCKDEP_WARN()")
introduced a bug by incorrectly inverting the condition when moving from
rcu_lockdep_assert() to RCU_LOCKDEP_WARN().  This commit therefore fixes
the inversion.

Reported-by: Felipe Balbi <balbi@ti.com>
Reported-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Tested-by: Josh Boyer <jwboyer@fedoraproject.org>
security/device_cgroup.c