aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 2551b8018399..d999c538cdc2 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -6893,7 +6893,7 @@ static long btrfs_fallocate(struct inode *inode, int mode,
6893 if (em->block_start == EXTENT_MAP_HOLE || 6893 if (em->block_start == EXTENT_MAP_HOLE ||
6894 (cur_offset >= inode->i_size && 6894 (cur_offset >= inode->i_size &&
6895 !test_bit(EXTENT_FLAG_PREALLOC, &em->flags))) { 6895 !test_bit(EXTENT_FLAG_PREALLOC, &em->flags))) {
6896 ret = btrfs_prealloc_file_range(inode, 0, cur_offset, 6896 ret = btrfs_prealloc_file_range(inode, mode, cur_offset,
6897 last_byte - cur_offset, 6897 last_byte - cur_offset,
6898 1 << inode->i_blkbits, 6898 1 << inode->i_blkbits,
6899 offset + len, 6899 offset + len,