summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ordered-data.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-06-03 08:55:13 +0300
committerDavid Sterba <dsterba@suse.com>2020-07-27 12:55:31 +0200
commite7fbf60453a7eae2a36ac9096c84ccb1067dabdf (patch)
treebb6c48bf2c097215baae77b620578b00d1d3f0f5 /fs/btrfs/ordered-data.h
parenta0349401c14f507990bbe052406498fd527f7df7 (diff)
downloadlinux-e7fbf60453a7eae2a36ac9096c84ccb1067dabdf.tar.gz
linux-e7fbf60453a7eae2a36ac9096c84ccb1067dabdf.tar.bz2
linux-e7fbf60453a7eae2a36ac9096c84ccb1067dabdf.zip
btrfs: make btrfs_add_ordered_extent take btrfs_inode
Preparation to converting its callers to taking 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/ordered-data.h')
-rw-r--r--fs/btrfs/ordered-data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ordered-data.h b/fs/btrfs/ordered-data.h
index f2a78f8f6bce..6c42f307b87f 100644
--- a/fs/btrfs/ordered-data.h
+++ b/fs/btrfs/ordered-data.h
@@ -151,7 +151,7 @@ int btrfs_dec_test_first_ordered_pending(struct inode *inode,
struct btrfs_ordered_extent **cached,
u64 *file_offset, u64 io_size,
int uptodate);
-int btrfs_add_ordered_extent(struct inode *inode, u64 file_offset,
+int btrfs_add_ordered_extent(struct btrfs_inode *inode, u64 file_offset,
u64 disk_bytenr, u64 num_bytes, u64 disk_num_bytes,
int type);
int btrfs_add_ordered_extent_dio(struct inode *inode, u64 file_offset,