diff options
author | Lance Roy <ldr709@gmail.com> | 2018-10-02 22:38:55 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-10 22:36:29 -0400 |
commit | 51aef7161753b8222f589c94886dd1a706f2b42d (patch) | |
tree | 38169afcb6bf5cddcdc812f8c9ac88e05a1d045b /kernel | |
parent | b51d577a51296fc6967fbab5d857986617c4f276 (diff) | |
download | linux-51aef7161753b8222f589c94886dd1a706f2b42d.tar.gz linux-51aef7161753b8222f589c94886dd1a706f2b42d.tar.bz2 linux-51aef7161753b8222f589c94886dd1a706f2b42d.zip |
scsi: snic: Replace spin_is_locked() with lockdep
lockdep_assert_held() is better suited to checking locking requirements, since
it won't get confused when someone else holds the lock. This is also a step
towards possibly removing spin_is_locked().
Signed-off-by: Lance Roy <ldr709@gmail.com>
Cc: Karan Tilak Kumar <kartilak@cisco.com>
Cc: Sesidhar Baddela <sebaddel@cisco.com>
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: <linux-scsi@vger.kernel.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions