diff options
author | David Sterba <dsterba@suse.com> | 2018-07-18 20:32:52 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:56 +0200 |
commit | 5cdc84bfde22dc17b11ee7cb18cebd48f4a09f70 (patch) | |
tree | 227ac753f0e8be3fff077eeea8a9e27565e6299f /fs/btrfs/ctree.h | |
parent | 00032d38eaa89c76de7d9c1ae6de8c48c14edd74 (diff) | |
download | lwn-5cdc84bfde22dc17b11ee7cb18cebd48f4a09f70.tar.gz lwn-5cdc84bfde22dc17b11ee7cb18cebd48f4a09f70.zip |
btrfs: drop extent_io_ops::set_range_writeback callback
The data and metadata callback implementation both use the same
function. We can remove the call indirection and intermediate helper
completely.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index ee1e152cb94b..9c638931b75e 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3172,7 +3172,7 @@ int btrfs_create_subvol_root(struct btrfs_trans_handle *trans, int btrfs_merge_bio_hook(struct page *page, unsigned long offset, size_t size, struct bio *bio, unsigned long bio_flags); -void btrfs_set_range_writeback(void *private_data, u64 start, u64 end); +void btrfs_set_range_writeback(struct extent_io_tree *tree, u64 start, u64 end); vm_fault_t btrfs_page_mkwrite(struct vm_fault *vmf); int btrfs_readpage(struct file *file, struct page *page); void btrfs_evict_inode(struct inode *inode); |