diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-06-03 07:55:03 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 12:55:25 +0200 |
commit | c3504372699bff6daeda207b4e30256c39f584c1 (patch) | |
tree | c9b8ce746ad5ea74b9eddc830e2999fcb0537deb /fs/btrfs/relocation.c | |
parent | btrfs: make get_extent_allocation_hint take btrfs_inode (diff) | |
download | linux-c3504372699bff6daeda207b4e30256c39f584c1.tar.xz linux-c3504372699bff6daeda207b4e30256c39f584c1.zip |
btrfs: make btrfs_lookup_ordered_extent take btrfs_inode
It doesn't use the generic vfs inode for anything use btrfs_inode
directly.
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 '')
-rw-r--r-- | fs/btrfs/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 11d156995446..8051aec5378e 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -3880,7 +3880,7 @@ int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len) u64 new_bytenr; LIST_HEAD(list); - ordered = btrfs_lookup_ordered_extent(inode, file_pos); + ordered = btrfs_lookup_ordered_extent(BTRFS_I(inode), file_pos); BUG_ON(ordered->file_offset != file_pos || ordered->num_bytes != len); disk_bytenr = file_pos + BTRFS_I(inode)->index_cnt; |