commit | 68b8eca5f882230e4991df0db0a3094f49420a90 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Wed May 01 13:07:47 2013 -0600 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Thu May 02 14:34:35 2013 -0400 |
tree | 1ab6b77745c27962368da4daac8e8fd1820ce722 | |
parent | 025c557a71bd06a9f6d32259f00e2218b15bf0a4 [diff] |
NVMe: Fix error clean-up on nvme_alloc_queue The nvme_queue's depth is not set if we fail to allocate submission queue entries, which was being used to determine how much coherent memory to free on error. Use the depth variable instead. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>