NVMe: Use IDA for namespace disk naming
[deliverable/linux.git] / drivers / nvme / host / nvme.h
index 9664d07d807d844b470975bc21708e0022b1a31e..9407f2fa44870d364eb71c35fada98e2e65f352f 100644 (file)
@@ -72,6 +72,7 @@ struct nvme_ctrl {
        struct mutex namespaces_mutex;
        struct device *device;  /* char device */
        struct list_head node;
+       struct ida ns_ida;
 
        char name[12];
        char serial[20];
@@ -102,6 +103,7 @@ struct nvme_ns {
        struct request_queue *queue;
        struct gendisk *disk;
        struct kref kref;
+       int instance;
 
        u8 eui[8];
        u8 uuid[16];
This page took 0.03082 seconds and 5 git commands to generate.