| Submitter | Wang shilong |
|---|---|
| Date | Jan. 26, 2011, 10:47 p.m. |
| Message ID | <4D40A470.7050601@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/215888/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c index 2616d0e..081929c 100644 --- a/fs/ext2/balloc.c +++ b/fs/ext2/balloc.c @@ -498,7 +498,6 @@ void ext2_free_blocks (struct inode * inode, unsigned long block, unsigned freed = 0, group_freed; if (block < le32_to_cpu(es->s_first_data_block) || - block + count < block || block + count > le32_to_cpu(es->s_blocks_count)) { ext2_error (sb, "ext2_free_blocks", "Freeing blocks not in datazone - "