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/extent_io.h | |
parent | btrfs: drop extent_io_ops::merge_bio_hook callback (diff) | |
download | linux-5cdc84bfde22dc17b11ee7cb18cebd48f4a09f70.tar.xz linux-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/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 5c07f87c2ec9..b4d03e677e1d 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -102,7 +102,6 @@ struct extent_io_ops { struct page *page, u64 start, u64 end, int mirror); int (*readpage_io_failed_hook)(struct page *page, int failed_mirror); - void (*set_range_writeback)(void *private_data, u64 start, u64 end); /* * Optional hooks, called if the pointer is not NULL |