This is a note to let you know that I've just added the patch titled
ext4: release buffer in failed path in dx_probe()
to the 3.7-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:
ext4-release-buffer-in-failed-path-in-dx_probe.patch
and it can be found in the queue-3.7 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 0ecaef0644973e9006fdbc6974301047aaff9bc6 Mon Sep 17 00:00:00 2001
From: Guo Chao <[email protected]>
Date: Sun, 6 Jan 2013 23:38:47 -0500
Subject: ext4: release buffer in failed path in dx_probe()
From: Guo Chao <[email protected]>
commit 0ecaef0644973e9006fdbc6974301047aaff9bc6 upstream.
If checksum fails, we should also release the buffer
read from previous iteration.
Signed-off-by: Guo Chao <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>-
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
fs/ext4/namei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -725,7 +725,7 @@ dx_probe(const struct qstr *d_name, stru
ext4_warning(dir->i_sb, "Node failed checksum");
brelse(bh);
*err = ERR_BAD_DX_DIR;
- goto fail;
+ goto fail2;
}
set_buffer_verified(bh);
Patches currently in stable-queue which might be from [email protected]
are
queue-3.7/ext4-release-buffer-in-failed-path-in-dx_probe.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html