]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: check return value of init_srcu_struct function
authorMax Gurtovoy <maxg@mellanox.com>
Thu, 12 Apr 2018 15:16:12 +0000 (09:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Apr 2018 15:58:27 +0000 (09:58 -0600)
commit25d263770ebcbb0f6a3d51ec1707167fa50f1645
treeb9e34251ffc071b54c7d6407694bf396863c302f
parent8ff30e8df9d6e9489995cf31e97d0def3f6edf4f
nvme: check return value of init_srcu_struct function

Also add error flow in case srcu initialization function fails.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c