| Submitter | Andrew Morton |
|---|---|
| Date | 2010-03-12 21:57:36 |
| Message ID | <20100312135736.2f3f5b91.akpm@linux-foundation.org> |
| Download | mbox | patch |
| Permalink | /patch/47701/ |
| State | New |
| Headers | show |
Comments
Patch
--- a/fs/ext3/balloc.c~a +++ a/fs/ext3/balloc.c @@ -1581,6 +1581,8 @@ retry_alloc: gdp = ext3_get_group_desc(sb, group_no, &gdp_bh); if (!gdp) goto io_error; + if (!gdp->bg_free_blocks_count) + continue; free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); /* * skip this group if the number of