Commit 8d63687a authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

nvme.h: don't use uuid_be

This makes life easier for nvme-cli and we don't really need the uuid
type anyway to start with.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarGabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Reviewed-by: default avatarJay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent a446c084
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#define _LINUX_NVME_H #define _LINUX_NVME_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/uuid.h>
/* NQN names in commands fields specified one size */ /* NQN names in commands fields specified one size */
#define NVMF_NQN_FIELD_LEN 256 #define NVMF_NQN_FIELD_LEN 256
...@@ -803,7 +802,7 @@ struct nvmf_connect_command { ...@@ -803,7 +802,7 @@ struct nvmf_connect_command {
}; };
struct nvmf_connect_data { struct nvmf_connect_data {
uuid_be hostid; __u8 hostid[16];
__le16 cntlid; __le16 cntlid;
char resv4[238]; char resv4[238];
char subsysnqn[NVMF_NQN_FIELD_LEN]; char subsysnqn[NVMF_NQN_FIELD_LEN];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment