diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-06-03 08:55:03 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 12:55:25 +0200 |
commit | c3504372699bff6daeda207b4e30256c39f584c1 (patch) | |
tree | c9b8ce746ad5ea74b9eddc830e2999fcb0537deb /fs/btrfs/ordered-data.h | |
parent | 43c69849ae78d83adc2a9ed077bc4c6353b09bc5 (diff) | |
download | lwn-c3504372699bff6daeda207b4e30256c39f584c1.tar.gz lwn-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 'fs/btrfs/ordered-data.h')
-rw-r--r-- | fs/btrfs/ordered-data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ordered-data.h b/fs/btrfs/ordered-data.h index a24a1f2d5f9d..f2a78f8f6bce 100644 --- a/fs/btrfs/ordered-data.h +++ b/fs/btrfs/ordered-data.h @@ -163,7 +163,7 @@ int btrfs_add_ordered_extent_compress(struct inode *inode, u64 file_offset, int compress_type); void btrfs_add_ordered_sum(struct btrfs_ordered_extent *entry, struct btrfs_ordered_sum *sum); -struct btrfs_ordered_extent *btrfs_lookup_ordered_extent(struct inode *inode, +struct btrfs_ordered_extent *btrfs_lookup_ordered_extent(struct btrfs_inode *inode, u64 file_offset); void btrfs_start_ordered_extent(struct inode *inode, struct btrfs_ordered_extent *entry, int wait); |