diff options
author | James Smart <jsmart2021@gmail.com> | 2017-11-16 02:00:21 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-16 19:27:04 +0100 |
commit | cce75291ffd82eb5bac56b051f46f89e8c0d2918 (patch) | |
tree | 460b671eef197c1510f0b8c96923573e26a08651 /block/bio.c | |
parent | block: wake up all tasks blocked in get_request() (diff) | |
download | linux-cce75291ffd82eb5bac56b051f46f89e8c0d2918.tar.xz linux-cce75291ffd82eb5bac56b051f46f89e8c0d2918.zip |
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>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions