NVMe: Fix bug in error handling
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 29 Apr 2011 06:09:09 +0000 (23:09 -0700)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:53:02 +0000 (15:53 -0400)
commit09a58f536436efed02ead722e835cb4ce7674afc
tree56f2285c62e2ddb88d4a6e79095dd2cd3285416d
parent22605f96810d073eb74051d0295b6577d6a6a563
NVMe: Fix bug in error handling

When an I/O completed with an error, we would call bio_endio twice
(once with -EIO and once with 0).  Found by inspection.

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