]> 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)
commit16827a7f627f48d1e0db108f0d86d02dbf36210d
tree3740618eab19cbced8d1ac9c4ded9e6189d66ec1
parent566bcd5910a781be9e5a2c4aff893c9e27b13095
btrfs: remove unused start and end parameters from btrfs_run_delalloc_range()

Since commit 9abe82629f47 ("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