]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit346b5117a2d3dcb389b4dbfc00d88fc1b7a149a7
treeacf20594789485395ccd38da5472caada059dacc
parente7b33424ff7e8565719cc279e9101239fa0a02be
btrfs: drop unused argument step from btrfs_free_extra_devids

Commit eddeefd4ffb4 ("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