commit | 65ad010488a5cc0f123a9924f7ad26a1b3f6a4f6 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Jun 29 10:56:49 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Aug 06 13:12:43 2018 +0200 |
tree | 04a1e29c5fc4b97defb72379af61735f5e78ce81 | |
parent | d7f663fa3ff906247a979c1115bc92cbabfb19ba [diff] |
btrfs: pass only eb to num_extent_pages Almost all callers pass the start and len as 2 arguments but this is not necessary, all the information is provided by the eb. By reordering the calls to num_extent_pages, we don't need the local variables with start/len. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>