nvme.h: don't use uuid_be
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Sep 2016 11:51:07 +0000 (13:51 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 19 Oct 2016 17:36:22 +0000 (11:36 -0600)
This makes life easier for nvme-cli and we don't really need the uuid
type anyway to start with.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/nvme.h

index 989699641e10597186be9a3114341da937598653..d31ff2dd1d51b59f896876071fd07e42eaa5e84c 100644 (file)
@@ -16,7 +16,6 @@
 #define _LINUX_NVME_H
 
 #include <linux/types.h>
-#include <linux/uuid.h>
 
 /* NQN names in commands fields specified one size */
 #define NVMF_NQN_FIELD_LEN     256
@@ -803,7 +802,7 @@ struct nvmf_connect_command {
 };
 
 struct nvmf_connect_data {
-       uuid_be         hostid;
+       __u8            hostid[16];
        __le16          cntlid;
        char            resv4[238];
        char            subsysnqn[NVMF_NQN_FIELD_LEN];