]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove unused start and end parameters from btrfs_run_delalloc_range()
authorQu Wenruo <wqu@suse.com>
Tue, 27 Jul 2021 05:41:32 +0000 (13:41 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:02 +0000 (13:19 +0200)
commit82e12ad12735887063d6daf5f0e5772ee4ef4850
tree3740618eab19cbced8d1ac9c4ded9e6189d66ec1
parentab97a2810257f08c8c5071df30d3395b0de3695d
btrfs: remove unused start and end parameters from btrfs_run_delalloc_range()

Since commit 5a77e2c45789 ("btrfs: Remove
extent_io_ops::writepage_start_hook") removes the writepage_start_hook()
and adds btrfs_writepage_cow_fixup() function, there is no need to
follow the old hook parameters.

Remove the @start and @end hook, since currently the fixup check is full
page check, it doesn't need @start and @end hook.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/inode.c