diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-14 10:22:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-14 10:22:45 -0800 |
commit | 9443c168505d308f5ecd8c0db249f6f62a39c448 (patch) | |
tree | 5bc9ef9e092aaa50509c9b1dda38c5698f535e6b /drivers | |
parent | 40548c6b6c134275c750eb372dc2cf8ee1bbc3d4 (diff) | |
parent | 32835a074171e7b83c1cefbbf9d681bb9518bbd5 (diff) | |
download | linux-stable-9443c168505d308f5ecd8c0db249f6f62a39c448.tar.gz linux-stable-9443c168505d308f5ecd8c0db249f6f62a39c448.tar.bz2 linux-stable-9443c168505d308f5ecd8c0db249f6f62a39c448.zip |
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()
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/nvme/host/fabrics.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/fabrics.c b/drivers/nvme/host/fabrics.c index 76b4fe6816a0..894c2ccb3891 100644 --- a/drivers/nvme/host/fabrics.c +++ b/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); |