[3.5.y.z extended stable] Patch "ext4: avoid bh leak in retry path of ext4_expand_extra_isize_ea()" has been added to staging queue
Luis Henriques
luis.henriques at canonical.com
Fri Nov 29 14:02:15 UTC 2013
This is a note to let you know that I have just added a patch titled
ext4: avoid bh leak in retry path of ext4_expand_extra_isize_ea()
to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree
which can be found at:
http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue
If you, or anyone else, feels it should not be added to this tree, please
reply to this email.
For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable
Thanks.
-Luis
------
>From 989d93b4fa76bf88fdf591f808bfd4a2e4c93a2b Mon Sep 17 00:00:00 2001
From: Theodore Ts'o <tytso at mit.edu>
Date: Thu, 31 Oct 2013 23:00:24 -0400
Subject: ext4: avoid bh leak in retry path of ext4_expand_extra_isize_ea()
commit dcb9917ba041866686fe152850364826c4622a36 upstream.
Reported-by: Dave Jones <davej at redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso at mit.edu>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
fs/ext4/xattr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c
index e979d5d..2f7cf35 100644
--- a/fs/ext4/xattr.c
+++ b/fs/ext4/xattr.c
@@ -1330,6 +1330,7 @@ retry:
new_extra_isize = s_min_extra_isize;
kfree(is); is = NULL;
kfree(bs); bs = NULL;
+ brelse(bh);
goto retry;
}
error = -1;
--
1.8.3.2
More information about the kernel-team
mailing list