Commit 3caa7b62 authored by Vasily Averin's avatar Vasily Averin Committed by Greg Kroah-Hartman
Browse files

ext4: fix possible inode leak in the retry loop of ext4_resize_fs()

commit db6aee62 upstream.

Fixes: 1c6bd717

 ("ext4: convert file system to meta_bg if needed ...")
Signed-off-by: default avatarVasily Averin <>
Signed-off-by: default avatarTheodore Ts'o <>
Cc: # 3.7
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent dd277533
......@@ -2028,6 +2028,10 @@ int ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count)
n_blocks_count_retry = 0;
flex_gd = NULL;
if (resize_inode) {
resize_inode = NULL;
goto retry;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment