]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: use blk_rq_nr_phys_segments
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Jan 2017 15:55:57 +0000 (16:55 +0100)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 26 Jan 2017 15:49:14 +0000 (17:49 +0200)
commit6a70105dec7f58dfe155935864e15edde622f202
treeba40aad7ab4fb28c0eafd0ee84959589f444f58d
parent06872c7388bc009d32164ad20bff59200edae5d8
nvme-fc: use blk_rq_nr_phys_segments

Without this deallocate won't work properly due to the mismatch
of the bio/request size and the actual payload size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c