Browse Source

Merge branch 'nvme-4.15' of git://git.infradead.org/nvme into for-linus

Pull a single NVMe fix from Christoph for 4.15.
Jens Axboe 7 years ago
parent
commit
32835a0741
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/nvme/host/fabrics.c

+ 1 - 0
drivers/nvme/host/fabrics.c

@@ -74,6 +74,7 @@ static struct nvmf_host *nvmf_host_default(void)
 		return NULL;
 
 	kref_init(&host->ref);
+	uuid_gen(&host->id);
 	snprintf(host->nqn, NVMF_NQN_SIZE,
 		"nqn.2014-08.org.nvmexpress:uuid:%pUb", &host->id);