]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove the unused parameter @len for btrfs_bio_fits_in_stripe()
authorQu Wenruo <wqu@suse.com>
Tue, 13 Apr 2021 09:58:48 +0000 (17:58 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jun 2021 13:19:08 +0000 (15:19 +0200)
commit43c0d1a5e117954b8193912939eb01390b2f01f2
tree62493b20d9806b9b8764f79315f60c7fd736fe19
parent0044ae11e8be86b5e39857d47017417d4cda00f2
btrfs: remove the unused parameter @len for btrfs_bio_fits_in_stripe()

The parameter @len is not really used in btrfs_bio_fits_in_stripe(),
just remove it.

It got removed in 420343131970 ("btrfs: let callers of
btrfs_get_io_geometry pass the em"), before that btrfs_get_chunk_map
utilized it.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
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/inode.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h