mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
Pull NVMe fix from Jens Axboe: "Just a single fix for nvme over fabrics that should go into 4.15" * 'for-linus' of git://git.kernel.dk/linux-block: nvme-fabrics: initialize default host->id in nvmf_host_default()
This commit is contained in:
commit
9443c16850
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user