]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Sink find_lock_delalloc_range's 'max_bytes' argument
authorNikolay Borisov <nborisov@suse.com>
Fri, 26 Oct 2018 11:43:20 +0000 (14:43 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:36 +0000 (14:51 +0100)
commit704e038a96a32b42570c56c38676d4a444644d85
tree21de9715aa99c9d24f337caf4a9c397cc4ea5b40
parent7e219bd6e9599a4a15430557c117a98da0250c26
btrfs: Sink find_lock_delalloc_range's 'max_bytes' argument

All callers of this function pass BTRFS_MAX_EXTENT_SIZE (128M) so let's
reduce the argument count and make that a local variable. No functional
changes.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/tests/extent-io-tests.c