mbox series

[0/4] btrfs: some cleanups around read_block_for_search()

Message ID cover.1729075703.git.fdmanana@suse.com (mailing list archive)
Headers show
Series btrfs: some cleanups around read_block_for_search() | expand

Message

Filipe Manana Oct. 16, 2024, 2:20 p.m. UTC
From: Filipe Manana <fdmanana@suse.com>

A set of cleanups around read_block_for_search() and btrfs_verify_level_key(),
mostly simplify arguments and remove redundant arguments and variables.

Filipe Manana (4):
  btrfs: remove redundant level argument from read_block_for_search()
  btrfs: simplify arguments for btrfs_verify_level_key()
  btrfs: remove redundant initialization from btrfs_readahead_tree_block()
  btrfs: remove local generation variable from read_block_for_search()

 fs/btrfs/ctree.c        | 29 ++++++++++++-----------------
 fs/btrfs/extent_io.c    |  1 -
 fs/btrfs/tree-checker.c | 16 ++++++++--------
 fs/btrfs/tree-checker.h |  4 ++--
 4 files changed, 22 insertions(+), 28 deletions(-)

Comments

David Sterba Oct. 16, 2024, 4 p.m. UTC | #1
On Wed, Oct 16, 2024 at 03:20:19PM +0100, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
> 
> A set of cleanups around read_block_for_search() and btrfs_verify_level_key(),
> mostly simplify arguments and remove redundant arguments and variables.
> 
> Filipe Manana (4):
>   btrfs: remove redundant level argument from read_block_for_search()
>   btrfs: simplify arguments for btrfs_verify_level_key()
>   btrfs: remove redundant initialization from btrfs_readahead_tree_block()
>   btrfs: remove local generation variable from read_block_for_search()

Reviewed-by: David Sterba <dsterba@suse.com>