IB/srp: Document locking conventions
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 14 Feb 2017 18:56:32 +0000 (10:56 -0800)
committerDoug Ledford <dledford@redhat.com>
Sun, 19 Feb 2017 14:51:53 +0000 (09:51 -0500)
commit93c76dbb749eb0c791c2680f8fdaeae51240fdf5
tree72eb82c580f706fa4eed4c6f6ae99a5ba0f6c0b1
parent0a6fdbdeb1c25e31763c1fb333fa2723a7d2aba6
IB/srp: Document locking conventions

Use lockdep_assert_held() statements to verify at run-time
whether the proper locks are held.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Israel Rukshin <israelr@mellanox.com>
Cc: Max Gurtovoy <maxg@mellanox.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c