aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/extents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 3de9b2d7028c..f4a676908b0b 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -5415,7 +5415,7 @@ int ext4_collapse_range(struct inode *inode, loff_t offset, loff_t len)
5415 } 5415 }
5416 5416
5417 /* Write out all dirty pages */ 5417 /* Write out all dirty pages */
5418 ret = filemap_write_and_wait_range(inode->i_mapping, offset, -1); 5418 ret = filemap_write_and_wait_range(inode->i_mapping, offset, LLONG_MAX);
5419 if (ret) 5419 if (ret)
5420 return ret; 5420 return ret;
5421 5421