mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ext4: avoid bh leak in retry path of ext4_expand_extra_isize_ea()
commit dcb9917ba0
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>
This commit is contained in:
parent
1eb9c3425a
commit
dc51161bf8
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue