NVMe: Fix memory leak in nvme_dev_add()
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Mon, 19 Sep 2011 21:14:53 +0000 (17:14 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:53:04 +0000 (15:53 -0400)
commit684f5c2025b067a23722e620d0b3b858d8dc5d01
tree3e1874b9a601d5dc9ff57a1ddf0221ca89904455
parentd1a490e026efb22851ed60588b5fad1281d80ec3
NVMe: Fix memory leak in nvme_dev_add()

The driver was allocating 8k of memory, then freeing 4k of it.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c