ext4: remove wait for unwritten extent conversion from ext4_truncate()
[deliverable/linux.git] / fs / ext4 / inode.c
index eb4ddfeeeedca899a9a66849b4adf189a4cd9ce2..d6e4f0e09a8cc071e1f2b54b9f15b2b80c912955 100644 (file)
@@ -3643,12 +3643,6 @@ void ext4_truncate(struct inode *inode)
                        return;
        }
 
-       /*
-        * finish any pending end_io work so we won't run the risk of
-        * converting any truncated blocks to initialized later
-        */
-       ext4_flush_unwritten_io(inode);
-
        if (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS))
                credits = ext4_writepage_trans_blocks(inode);
        else
This page took 0.051429 seconds and 5 git commands to generate.