]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit169595df07e8e94ad126f4b36f3137dc431cbe04
tree72eb82c580f706fa4eed4c6f6ae99a5ba0f6c0b1
parent4f062d1f715e7d95da38db34e1e23a7e9efebfee
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