Skip to content
Snippets Groups Projects
Commit cc3d4671 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Keith Busch
Browse files

nvmet: add a missing endianess conversion in nvmet_execute_admin_connect


The kato field is little endian on the wire, but native endian in
the in-core structure, add the missing byte swap.

Fixes: 62027831 ("nvmet: Improve nvmet_alloc_ctrl() interface and implementation")
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 7bf6b497
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment