projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb9c34
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:50:30 +0000
(10:50 -0800)
commit
dcb9917ba041866686fe152850364826c4622a36
upstream.
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/xattr.c
patch
|
blob
|
history
diff --git
a/fs/ext4/xattr.c
b/fs/ext4/xattr.c
index b1aa7fd4701d8af26d55b20d5337a351deb0d1b6..01f2cf3409fbc3d9538ac286664d9b07528e6b9c 100644
(file)
--- a/
fs/ext4/xattr.c
+++ b/
fs/ext4/xattr.c
@@
-1270,6
+1270,7
@@
retry:
new_extra_isize = s_min_extra_isize;
kfree(is); is = NULL;
kfree(bs); bs = NULL;
+ brelse(bh);
goto retry;
}
error = -1;