diff options
author | Christoph Hellwig <hch@lst.de> | 2019-10-23 18:35:41 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-04 18:56:41 +0100 |
commit | 2cb6963a16e9e114486decf591af7cb2d69cb154 (patch) | |
tree | 69beb8cc6d3966336dbbc622ce525a679656c98d /LICENSES | |
parent | nvmet-tcp: Don't set the request's data_len (diff) | |
download | linux-2cb6963a16e9e114486decf591af7cb2d69cb154.tar.xz linux-2cb6963a16e9e114486decf591af7cb2d69cb154.zip |
nvmet: Introduce common execute function for get_log_page and identify
Instead of picking the sub-command handler to execute in a nested
switch statement introduce a landing functions that calls out
to the appropriate sub-command handler.
This will allow us to have a common place in the handler to check
the transfer length in a future patch.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
[split patch, update change log]
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')
0 files changed, 0 insertions, 0 deletions