]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6abf8742210e0e1fd2839cf1005b1fe5dbe2f799
tree08d4f1be8e4bdab4053721c982b47ccb20926d5d
parent58a13286419b5be7274db2a3b5dfebf6e8987759
mmc: block: fix boot partition switch error path

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>
drivers/mmc/card/block.c