mmc: block: fix boot partition switch error path
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 23 Sep 2011 09:48:20 +0000 (12:48 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:14 +0000 (16:32 -0400)
In the case of a switch error, do not update partition config as though
the switch succeeded, and ensure blk_end_request is called on the
failed request.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Andrei Warkentin <andrey.warkentin@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found