Skip to contentSkip to conversation

Patch "mmc: block: Add missing mmc_blk_put() in power_ro_lock_show()" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Jul 30, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

mmc: block: Add missing mmc_blk_put() in power_ro_lock_show()

to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mmc-block-add-missing-mmc_blk_put-in-power_ro_lock_show.patch
and it can be found in the queue-4.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 9098f84cced870f54d8c410dd2444cfa61467fa0 Mon Sep 17 00:00:00 2001

From: Tomas Winkler <[email protected]>
Date: Thu, 16 Jul 2015 15:50:45 +0200
Subject: mmc: block: Add missing mmc_blk_put() in power_ro_lock_show()

From: Tomas Winkler <[email protected]>

commit 9098f84cced870f54d8c410dd2444cfa61467fa0 upstream.

Enclosing mmc_blk_put() is missing in power_ro_lock_show() sysfs handler, let's add it.

Fixes add710eaa886 ("mmc: boot partition ro lock support")
---
 drivers/mmc/card/block.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/mmc/card/block.c +2 -0
@@ -208,6 +208,8 @@ static ssize_t power_ro_lock_show(struct
 
 	ret = snprintf(buf, PAGE_SIZE, "%d\n", locked);
 
+	mmc_blk_put(md);
+
 	return ret;
 }
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.1/mmc-block-add-missing-mmc_blk_put-in-power_ro_lock_show.patch