diff options
author | Mike Christie <mchristi@redhat.com> | 2017-11-28 21:40:32 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2018-01-13 02:07:13 +0300 |
commit | 6fddcb775477bb2213bd76ab62145645eb570f33 (patch) | |
tree | 59c35a54d94bf131d8af543e5740519fcaa46aa9 /drivers/scsi/Makefile | |
parent | 488ebe4c355fdead39dbb3f6a51329c16cbfcc60 (diff) | |
download | linux-6fddcb775477bb2213bd76ab62145645eb570f33.tar.xz |
tcmu: remove commands_lock
No need for the commands_lock. The cmdr_lock is already held during
idr addition and deletion, so just grab it during traversal.
Note: This also fixes a issue where we should have been using at
least _bh locking in tcmu_handle_completions when taking the commands
lock to prevent the case where tcmu_handle_completions could be
interrupted by a timer softirq while the commands_lock is held.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/Makefile')
0 files changed, 0 insertions, 0 deletions