diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-01 06:24:03 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-14 15:53:29 +0400 |
commit | 6d5b59756033c2a029bde7262bb5f8d45f4ca952 (patch) | |
tree | 01cf728296b46e5af005307859e890ef839e063d /include/target | |
parent | beb55a0cc15a43be43a646b588fcf83822f0c44f (diff) | |
download | linux-6d5b59756033c2a029bde7262bb5f8d45f4ca952.tar.xz |
target: Remove legacy device status check from transport_execute_tasks
This patch removes a legacy se_dev_check_online() check from within
transport_execute_tasks() that should no longer be necessary as
transport_lookup_cmd_lun() is already making this call.
Using transport_cmd_check_stop() from transport_execute_tasks() should
already be checking per se_cmd context for each descriptor upon active
I/O shutdown, so no need to acquire dev->dev_status_lock again while
executing se_task submission.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions