diff options
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 9c9fb46ccd08..e21c0060ee73 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
@@ -1131,7 +1131,7 @@ static ssize_t btrfs_file_write(struct file *file, const char __user *buf, | |||
1131 | if (will_write) { | 1131 | if (will_write) { |
1132 | btrfs_fdatawrite_range(inode->i_mapping, pos, | 1132 | btrfs_fdatawrite_range(inode->i_mapping, pos, |
1133 | pos + write_bytes - 1, | 1133 | pos + write_bytes - 1, |
1134 | WB_SYNC_NONE); | 1134 | WB_SYNC_ALL); |
1135 | } else { | 1135 | } else { |
1136 | balance_dirty_pages_ratelimited_nr(inode->i_mapping, | 1136 | balance_dirty_pages_ratelimited_nr(inode->i_mapping, |
1137 | num_pages); | 1137 | num_pages); |