mmc: block: Fix missing blk_put_request()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 21 Nov 2017 13:42:27 +0000 (15:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Dec 2017 10:26:32 +0000 (11:26 +0100)
commit0d8d2b6373c19f85bab6af1702563b50e17b2cf6
treee7c951c900ec01ea5d9b359e049f88c2bb283f99
parent4162b2973c1c6e49d7b193e572dec691233115c3
mmc: block: Fix missing blk_put_request()

commit 34c089e806793a66e450b11bd167db6047399fcd upstream.

Ensure blk_get_request() is paired with blk_put_request().

Fixes: 0493f6fe5bde ("mmc: block: Move boot partition locking into a driver op")
Fixes: 627c3ccfb46a ("mmc: debugfs: Move block debugfs into block module")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/core/block.c