diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-06-03 08:55:35 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 12:55:35 +0200 |
commit | c2566f22893c8b8cdf443505c043b2ca9f5023f6 (patch) | |
tree | 373fbbb83b7c0932c23d6faaa5b76b9969c6c517 /fs/btrfs/relocation.c | |
parent | cd4c0bf94292b60ab6b0f5dfa5e1297572800f1f (diff) |
btrfs: make btrfs_set_extent_delalloc take btrfs_inode
Preparation to make btrfs_dirty_pages take btrfs_inode as parameter.
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/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index e3f3e2e70212..73300c7e3c52 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -2754,8 +2754,8 @@ static int relocate_file_extent_cluster(struct inode *inode, nr++; } - ret = btrfs_set_extent_delalloc(inode, page_start, page_end, 0, - NULL); + ret = btrfs_set_extent_delalloc(BTRFS_I(inode), page_start, + page_end, 0, NULL); if (ret) { unlock_page(page); put_page(page); |