From: Keith Busch Date: Thu, 2 Aug 2012 20:05:59 +0000 (-0600) Subject: NVMe: Free cmdid on nvme_submit_bio error X-Git-Tag: v3.9-rc4~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859361a228258edf4821d9f5635825033eca78e8;p=pandora-kernel.git 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 Signed-off-by: Matthew Wilcox --- Reading git-diff-tree failed