ext4: remove unnecessary parameter "needed" in ext4_discard_preallocations
[linux-2.6-microblaze.git] / fs / ext4 / move_extent.c
index 391efa6..7cd4afa 100644 (file)
@@ -686,8 +686,8 @@ ext4_move_extents(struct file *o_filp, struct file *d_filp, __u64 orig_blk,
 
 out:
        if (*moved_len) {
-               ext4_discard_preallocations(orig_inode, 0);
-               ext4_discard_preallocations(donor_inode, 0);
+               ext4_discard_preallocations(orig_inode);
+               ext4_discard_preallocations(donor_inode);
        }
 
        ext4_free_ext_path(path);