aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-10 13:38:24 -0500
committerDavid Sterba <dsterba@suse.com>2017-02-17 06:03:53 -0500
commit4242b64a4c495dea7da4825b258dcf2659ab5f81 (patch)
tree179d203dcdd51a6e8ee8375af38cd29265186b95 /fs/btrfs/extent_io.c
parentdf9f628e3d316e7a254aa8ac002199a33a02b167 (diff)
btrfs: remove unused parameter from extent_write_cache_pages
The 'tree' was used to call locking hook that does not exist anymore. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r--fs/btrfs/extent_io.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index a546495fc18e..d15b5ddb6732 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -3911,8 +3911,7 @@ retry:
3911 * WB_SYNC_ALL then we were called for data integrity and we must wait for 3911 * WB_SYNC_ALL then we were called for data integrity and we must wait for
3912 * existing IO to complete. 3912 * existing IO to complete.
3913 */ 3913 */
3914static int extent_write_cache_pages(struct extent_io_tree *tree, 3914static int extent_write_cache_pages(struct address_space *mapping,
3915 struct address_space *mapping,
3916 struct writeback_control *wbc, 3915 struct writeback_control *wbc,
3917 writepage_t writepage, void *data, 3916 writepage_t writepage, void *data,
3918 void (*flush_fn)(void *)) 3917 void (*flush_fn)(void *))
@@ -4153,8 +4152,7 @@ int extent_writepages(struct extent_io_tree *tree,
4153 .bio_flags = 0, 4152 .bio_flags = 0,
4154 }; 4153 };
4155 4154
4156 ret = extent_write_cache_pages(tree, mapping, wbc, 4155 ret = extent_write_cache_pages(mapping, wbc, __extent_writepage, &epd,
4157 __extent_writepage, &epd,
4158 flush_write_bio); 4156 flush_write_bio);
4159 flush_epd_write_bio(&epd); 4157 flush_epd_write_bio(&epd);
4160 return ret; 4158 return ret;