diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c index e7ae26e36c9c119a0b8b025e57914ba411b38ac5..4d5c0fc9d23a78533ed6fcca349f03550e1c2521 100644 --- a/fs/ext4/resize.c +++ b/fs/ext4/resize.c @@ -874,6 +874,7 @@ static int add_new_gdb(handle_t *handle, struct inode *inode, err = ext4_handle_dirty_metadata(handle, NULL, gdb_bh); if (unlikely(err)) { ext4_std_error(sb, err); + iloc.bh = NULL; goto errout; } brelse(dind);