summaryrefslogtreecommitdiffstats
path: root/drivers/block/hd.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2012-08-02 14:05:59 -0600
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2012-11-13 09:13:49 -0500
commit859361a228258edf4821d9f5635825033eca78e8 (patch)
tree8c6f6c5344b163ed3d3fa479858d840a4209da32 /drivers/block/hd.c
parent9924a1992a86ebdb7ca36ef790d2ba0da506296c (diff)
downloadop-kernel-dev-859361a228258edf4821d9f5635825033eca78e8.zip
op-kernel-dev-859361a228258edf4821d9f5635825033eca78e8.tar.gz
NVMe: Free cmdid on nvme_submit_bio error
nvme_map_bio() is called after the cmdid is allocated, so we have to free the cmdid before returning from nvme_submit_bio() if nvme_map_bio() returned an error. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'drivers/block/hd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud