diff options
author | Christoph Hellwig <hch@lst.de> | 2019-10-23 18:35:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-04 18:56:42 +0100 |
commit | e9061c397839eea34207668bfedce0a6c18c5015 (patch) | |
tree | 07ed5f1fff8c579ab7fff79387977102afa3d4ed /LICENSES/deprecated | |
parent | nvmet: Introduce nvmet_dsm_len() helper (diff) | |
download | linux-e9061c397839eea34207668bfedce0a6c18c5015.tar.xz linux-e9061c397839eea34207668bfedce0a6c18c5015.zip |
nvmet: Remove the data_len field from the nvmet_req struct
Instead of storing the expected length and checking it when it's
executed, just check the length inside the command themselves.
A new helper, nvmet_check_data_len() is created to help with this
check.
Signed-off-by: Christoph Hellwig <hch@lst.de>
[split patch, udpate changelog]
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 'LICENSES/deprecated')
0 files changed, 0 insertions, 0 deletions