projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2746f7a
)
ext4: avoid bh leak in retry path of ext4_expand_extra_isize_ea()
author
Theodore Ts'o
<tytso@mit.edu>
Fri, 1 Nov 2013 03:00:24 +0000
(23:00 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 1 Nov 2013 03:00:24 +0000
(23:00 -0400)
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/xattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/xattr.c
b/fs/ext4/xattr.c
index 03e9bebba1989ef20263fbd1656959b764927b03..1423c4816a4783da4208b6d51fc33815b25597f4 100644
(file)
--- a/
fs/ext4/xattr.c
+++ b/
fs/ext4/xattr.c
@@
-1352,6
+1352,7
@@
retry:
new_extra_isize = s_min_extra_isize;
kfree(is); is = NULL;
kfree(bs); bs = NULL;
+ brelse(bh);
goto retry;
}
error = -1;