diff options
author | Christoph Hellwig <[email protected]> | 2019-10-23 10:35:41 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-11-04 10:56:41 -0700 |
commit | 2cb6963a16e9e114486decf591af7cb2d69cb154 (patch) | |
tree | 69beb8cc6d3966336dbbc622ce525a679656c98d /net/switchdev/switchdev.c | |
parent | c73eebc07a0fc8f4ea0f69c65803595d6471bb47 (diff) |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
[split patch, update change log]
Signed-off-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions