NVMe: Initialize device list head before starting
authorKeith Busch <[email protected]>
Mon, 23 Mar 2015 15:32:37 +0000 (09:32 -0600)
committerJens Axboe <[email protected]>
Mon, 23 Mar 2015 15:35:12 +0000 (09:35 -0600)
commite6e96d73a2aaaa54ed2c0f98693f4bf572712f1c
tree526482a66208a6bec674884a0b57800f298f55b8
parent7ee8e4f3983c4ff700958a6099c8fd212ea67b94
NVMe: Initialize device list head before starting

Driver recovery requires the device's list node to have been initialized.

Fixes: https://lkml.org/lkml/2015/3/22/262
Reported-by: Steven Noonan <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
drivers/block/nvme-core.c