diff options
author | Nikolay Borisov <nborisov@suse.com> | 2021-02-17 15:12:47 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-04-19 17:25:14 +0200 |
commit | bfc78479eba905368328dd25fb407a81eaf63a32 (patch) | |
tree | 4e7c16da3c06d6d987748b39a86db11f31401f9e /fs/btrfs/inode.c | |
parent | 0b3dcd131d5b02ab8e038e55fef243e51b06fe96 (diff) | |
download | linux-bfc78479eba905368328dd25fb407a81eaf63a32.tar.bz2 |
btrfs: make btrfs_replace_file_extents take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index a520775949a0..726d89c010fd 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -9919,7 +9919,7 @@ static struct btrfs_trans_handle *insert_prealloc_file_extent( goto free_qgroup; } - ret = btrfs_replace_file_extents(&inode->vfs_inode, path, file_offset, + ret = btrfs_replace_file_extents(inode, path, file_offset, file_offset + len - 1, &extent_info, &trans); btrfs_free_path(path); |