lockdep: Change lockdep_set_novalidate_class() to use _and_name
authorOleg Nesterov <oleg@redhat.com>
Mon, 20 Jan 2014 18:20:16 +0000 (19:20 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 9 Feb 2014 20:19:01 +0000 (21:19 +0100)
commit47be1c1a0e188232b5e5962917b21750053cd3f8
treeac85658d208fad7ab28e89d86503b594ec043a13
parent34d0ed5ea7a72d5961552fb1758a94f0d3f8f3dc
lockdep: Change lockdep_set_novalidate_class() to use _and_name

Cosmetic. This doesn't really matter because a) device->mutex is
the only user of __lockdep_no_validate__ and b) this class should
be never reported as the source of problem, but if something goes
wrong "&dev->mutex" looks better than "&__lockdep_no_validate__"
as the name of the lock.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20140120182016.GA26512@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/lockdep.h