]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: don't pass nodesize to __alloc_extent_buffer()
authorDavid Sterba <dsterba@suse.com>
Wed, 26 Feb 2025 08:22:25 +0000 (09:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:47 +0000 (20:35 +0100)
commit551561c34663e8fc32aff8824d68288b87498ba1
treee47f2327bc461da64bc0758bb33830706f19b2f3
parent25aff7b964521eb4ab627dc092335e4690c07e95
btrfs: don't pass nodesize to __alloc_extent_buffer()

All callers pass a valid fs_info so we can read the nodesize from that
instead of passing it as parameter.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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