On 24/07/24 01:31PM, Leon Romanovsky wrote: >From: Leon Romanovsky > >nvme_map_data() is called when request has physical segments, hence >the nvme_unmap_data() should have same condition to avoid dereference. > >Fixes: 4aedb705437f ("nvme-pci: split metadata handling from nvme_map_data / nvme_unmap_data") >Signed-off-by: Leon Romanovsky >--- Reviewed-by: Nitesh Shetty