On Tue, 2017-05-23 at 16:48 -0700, Bart Van Assche wrote: > Target drivers must guarantee that struct se_cmd and struct se_tmr_req > exist as long as target_tmr_work() is in progress. Since the last > access by the LIO core is a call to .check_stop_free() and since the > Xen scsiback .check_stop_free() drops a reference to the TMF, it is > already guaranteed that the struct se_cmd that corresponds to the TMF > exists as long as target_tmr_work() is in progress. Hence change the > second argument of transport_generic_free_cmd() from 1 into 0. > > Signed-off-by: Bart Van Assche <bart.vanass...@sandisk.com> > Cc: Juergen Gross <jgr...@suse.com> > Cc: Christoph Hellwig <h...@lst.de> > Cc: Hannes Reinecke <h...@suse.com> > Cc: David Disseldorp <dd...@suse.de> > Cc: xen-de...@lists.xenproject.org > --- > drivers/xen/xen-scsiback.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Applied. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel