IB/uverbs: Make lockdep output more readable
authorRoland Dreier <roland@purestorage.com>
Mon, 30 Apr 2012 17:27:26 +0000 (10:27 -0700)
committerRoland Dreier <roland@purestorage.com>
Tue, 8 May 2012 18:17:34 +0000 (11:17 -0700)
commit3bea57a5fc1762a72fb9ac88b9aa9e48dcbea8bc
tree8defc3f9068d817f9ed0f0184304695b25f12dbc
parentd48b97b403d23f6df0b990cee652bdf9a52337a3
IB/uverbs: Make lockdep output more readable

Add names for our lockdep classes, so instead of having to decipher
lockdep output with mysterious names:

    Chain exists of:
      key#14 --> key#11 --> key#13

lockdep will give us something nicer:

    Chain exists of:
      SRQ-uobj --> PD-uobj --> CQ-uobj

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/uverbs_cmd.c