]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: replace BTRFS_MAX_BIO_SECTORS with BIO_MAX_VECS
authorQu Wenruo <wqu@suse.com>
Mon, 27 Oct 2025 08:28:47 +0000 (18:58 +1030)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:34:52 +0000 (22:34 +0100)
commitafc04c8b1bb5552e6f7e05b4fe02ebc451fe66ff
treeb9631e6a7410389291c3a5ea827e17f7e297b073
parentc913649c1b0260a8a992773aa6a49189059f65a5
btrfs: replace BTRFS_MAX_BIO_SECTORS with BIO_MAX_VECS

It's impossible to have a btrfs bio with more than BIO_MAX_VECS vectors
anyway.  And there is only one location utilizing that macro, just
replace it with BIO_MAX_VECS. Both have the same value.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/bio.h
fs/btrfs/direct-io.c