From: Wei Yongjun Date: Mon, 13 May 2013 14:29:04 +0000 (+0800) Subject: NVMe: fix error return code in nvme_submit_bio_queue() X-Git-Tag: v3.10-rc6~26^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1287dabd345f447bbe0f7a99fc95ab89bcfc0f5d;p=pandora-kernel.git NVMe: fix error return code in nvme_submit_bio_queue() nvme_submit_flush_data() might overwrite the initialisation of the return value with 0, so move the -ENOMEM setting close to the usage. Signed-off-by: Wei Yongjun Signed-off-by: Matthew Wilcox --- Reading git-diff-tree failed