]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/btrfs/disk-io.c
btrfs: drop unused argument step from btrfs_free_extra_devids
authorAnand Jain <anand.jain@oracle.com>
Fri, 6 Nov 2020 08:06:33 +0000 (16:06 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:08 +0000 (15:54 +0100)
commitbacce86ae8a7b8b3c7d8398eb57d151a808043d1
treeacf20594789485395ccd38da5472caada059dacc
parent2766ff61762c3fa19bf30bc0ff72ea5306229f09
btrfs: drop unused argument step from btrfs_free_extra_devids

Commit cf89af146b7e ("btrfs: dev-replace: fail mount if we don't have
replace item with target device") dropped the multi stage operation of
btrfs_free_extra_devids() that does not need to check replace target
anymore and we can remove the 'step' argument.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h