From f2d56a0a92e357216ab9e17c6ff1113c0970a304 Mon Sep 17 00:00:00 2001 From: Hugh Dickins Date: Wed, 6 Dec 2006 20:41:28 -0800 Subject: [PATCH] --- yaml --- r: 42984 b: refs/heads/master c: 2823b5535efad71e950ef50c2ce5f9e4dbaedc17 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext3/balloc.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index ff5756312a5a..9435a015a565 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c56d2561f7189762c4fce854630d4f7f6d64ccee +refs/heads/master: 2823b5535efad71e950ef50c2ce5f9e4dbaedc17 diff --git a/trunk/fs/ext3/balloc.c b/trunk/fs/ext3/balloc.c index 03d39b6fd305..5a2c198762f0 100644 --- a/trunk/fs/ext3/balloc.c +++ b/trunk/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