]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ext4/mballoc.c
ext4: Don't call sb_issue_discard() in ext4_free_blocks()
[net-next-2.6.git] / fs / ext4 / mballoc.c
index c58eba34724a4281f1cb8bb405ab607ef09b49ff..5b4d4e3a4d58e3506c15e891e7b8df394bc0838f 100644 (file)
@@ -4640,8 +4640,6 @@ do_more:
                 * with group lock held. generate_buddy look at
                 * them with group lock_held
                 */
-               if (test_opt(sb, DISCARD))
-                       ext4_issue_discard(sb, block_group, bit, count);
                ext4_lock_group(sb, block_group);
                mb_clear_bits(bitmap_bh->b_data, bit, count);
                mb_free_blocks(inode, &e4b, bit, count);