diff options
| author | 2019-10-23 10:35:40 -0600 | |
|---|---|---|
| committer | 2019-11-04 10:56:41 -0700 | |
| commit | c73eebc07a0fc8f4ea0f69c65803595d6471bb47 (patch) | |
| tree | 1d9d320a05f26dcf68aa7d4e0237fc5d1e853b58 /lib/mpi/mpiutil.c | |
| parent | nvmet-tcp: Don't check data_len in nvmet_tcp_map_data() (diff) | |
| download | wireguard-linux-c73eebc07a0fc8f4ea0f69c65803595d6471bb47.tar.xz wireguard-linux-c73eebc07a0fc8f4ea0f69c65803595d6471bb47.zip | |
nvmet-tcp: Don't set the request's data_len
It's not apprporiate for the transports to set the data_len
field of the request which is only used by the core.
In this case, just use a variable on the stack to store the
length of the sgl for comparison.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
