+10
−3
Loading
The lsrsp object is maintained by the LLDD. The lifetime of the lsrsp object is implicit. Because there is no explicit cleanup/free call into the LLDD, it is not safe to assume after xml_rsp_fails, that the lsrsp is still valid. The LLDD could have freed the object already. With the recent changes how fcloop tracks the resources, this is the case. Thus don't access lsrsp after xml_rsp_fails. Signed-off-by:Daniel Wagner <wagi@kernel.org> Reviewed-by:
Hannes Reinecke <hare@kernel.org> Signed-off-by:
Christoph Hellwig <hch@lst.de>