--- zzzz-none-000/linux-2.6.32.61/fs/ext2/balloc.c 2013-06-10 09:43:48.000000000 +0000 +++ ar10-7272-687/linux-2.6.32.61/fs/ext2/balloc.c 2011-07-20 07:23:51.000000000 +0000 @@ -16,6 +16,7 @@ #include #include #include +#include /* * balloc.c contains the blocks allocation and deallocation routines @@ -559,6 +560,9 @@ if (sb->s_flags & MS_SYNCHRONOUS) sync_dirty_buffer(bitmap_bh); + //printk(KERN_ERR "[%s/%d] block:%lu, count:%lu", __func__, __LINE__, block, count); + sb_issue_discard(sb, block, count); // Koennte ein Hack sein... + group_adjust_blocks(sb, block_group, desc, bh2, group_freed); freed += group_freed;