summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-07-18 20:32:52 +0200
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:56 +0200
commit5cdc84bfde22dc17b11ee7cb18cebd48f4a09f70 (patch)
tree227ac753f0e8be3fff077eeea8a9e27565e6299f /fs/btrfs/extent_io.h
parent00032d38eaa89c76de7d9c1ae6de8c48c14edd74 (diff)
downloadlinux-5cdc84bfde22dc17b11ee7cb18cebd48f4a09f70.tar.gz
linux-5cdc84bfde22dc17b11ee7cb18cebd48f4a09f70.tar.bz2
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.h1
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