diff --git a/fs/ext3/balloc.c b/fs/ext3/balloc.c index 03d39b6fd305d00f7268770027dfa61aafa49e73..5a2c198762f082af99ad37e3ac7a19f58a1cbee7 100644 --- a/fs/ext3/balloc.c +++ b/fs/ext3/balloc.c @@ -1515,10 +1515,8 @@ ext3_fsblk_t ext3_new_blocks(handle_t *handle, struct inode *inode, if (group_no >= ngroups) group_no = 0; gdp = ext3_get_group_desc(sb, group_no, &gdp_bh); - if (!gdp) { - *errp = -EIO; - goto out; - } + if (!gdp) + goto io_error; free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); /* * skip this group if the number of