commit | 3d26fea01d5f80e3e585d69d8d73a60e1ca563a0 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Wed Dec 21 14:14:05 2011 -0500 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Feb 25 14:37:46 2012 -0800 |
tree | 6955955e14533854f9e9eaae7b7475e819bc53d5 | |
parent | 7d680f3b74dd6f0f57569eeeee8c257790ceaa96 [diff] |
target: remove the transport_lun_active field in struct se_cmd There is no reason to have a flag telling if a command is on the per-lun list, we can simply do a list_empty check before removing it as long as we're careful to always use list_del_init. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>