target: Remove command flag CMD_T_BUSY
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 3 Jan 2017 09:44:11 +0000 (10:44 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 9 Feb 2017 08:39:15 +0000 (00:39 -0800)
commitfd5e64def9170392fdf258d1eee5966433ee3d45
tree4026e63ac42ce96eeb863d41526a90e3162b6e4f
parent6b6427b6fd90ba1ff13e540bf7276f30a3e6f74f
target: Remove command flag CMD_T_BUSY

The patch that reworks task management function handling guarantees
that target_remove_from_state_list() is always called with CMD_T_BUSY
cleared. Since that function is the only function that tests that flag
this means that that flag is now superfluous. Hence remove that flag.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Andy Grover <agrover@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c
drivers/target/target_core_transport.c
include/target/target_core_base.h