Re: [PATCH 3/4] nvmet-fc: Don't use the count returned by the dma_map_sg call

From: James Smart
Date: Thu Mar 29 2018 - 12:34:39 EST


On 3/29/2018 9:30 AM, Logan Gunthorpe wrote:
Can you elaborate? The 'data_sg_cnt' member was in 'struct
nvmet_fc_fcp_iod' which is declared in fc.c so it doesn't seem sane for
lower driver to access it... In fact the next patch in the series
removes it completely.

Logan

actually, I do think it's ok. about to post review on the next patch

-- james