summaryrefslogtreecommitdiffstats
path: root/drivers/block/nbd.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2012-08-03 13:55:56 -0400
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2012-08-03 13:55:56 -0400
commit9e866774aab5d2654b0fa8f97890f68913f05700 (patch)
treea971538c8e58a72f9e14c6ba89b33bf7ab737220 /drivers/block/nbd.c
parentcd58ad7d188c643cf572b038909c2f7dd96fdafe (diff)
downloadop-kernel-dev-9e866774aab5d2654b0fa8f97890f68913f05700.zip
op-kernel-dev-9e866774aab5d2654b0fa8f97890f68913f05700.tar.gz
NVMe: Free admin queue memory on initialisation failure
If the adapter fails initialisation, the memory allocated for the admin queue may not be freed. Split the memory freeing part of nvme_free_queue() into nvme_free_queue_mem() and call it in the case of initialisation failure. Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Reported-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'drivers/block/nbd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud