btrfs: sink writepage parameter to extent_write_cache_pages
authorDavid Sterba <dsterba@suse.com>
Fri, 23 Jun 2017 02:30:28 +0000 (04:30 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:18 +0000 (16:08 +0100)
commit935db8531fa4d6cc951729a2b5063b6406b71432
tree420a0c05ef090b72a238ffdab313c1694afebbb9
parent25b860e038915ffb6c3d8d3fe8c46272a8d471fe
btrfs: sink writepage parameter to extent_write_cache_pages

The function extent_write_cache_pages is modelled after
write_cache_pages which is a generic interface and the writepage
parameter makes sense there. In btrfs we know exactly which callback
we're going to use, so we can pass it directly.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c