commit | cce75291ffd82eb5bac56b051f46f89e8c0d2918 | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Wed Nov 15 17:00:21 2017 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 16 11:27:04 2017 -0700 |
tree | 460b671eef197c1510f0b8c96923573e26a08651 | |
parent | 34d9715ac1edd50285168dd8d80c972739a4f6a4 [diff] |
nvmet_fc: fix better length checking Reorganize nvmet_fc_handle_fcp_rqst() so that the nvmet req.transfer_len field is set after the call nvmet_req_init(). An update to nvmet now has nvmet_req_init() clearing the field, thus the fc transport was losing the value. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>