summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-08-28 17:46:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-02 22:15:21 +0900
commit90542dc854a28b525fc54c76ed4df48c804e6191 (patch)
treefd6d8b819388a497c9a075ef3d3c93428cc1f8b5 /include/net/aligned_data.h
parent403eb8a1ba869a1937e2f0273e4adbd518d17d5f (diff)
btrfs: use level argument in log tree walk callback replay_one_buffer()
[ Upstream commit 6cb7f0b8c9b0d6a35682335fea88bd26f089306f ] We already have the extent buffer's level in an argument, there's no need to first ensure the extent buffer's data is loaded (by calling btrfs_read_extent_buffer()) and then call btrfs_header_level() to check the level. So use the level argument and do the check before calling btrfs_read_extent_buffer(). Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions