btrfs: remove checks for arg argument in btrfs_ioctl_balance
authorNikolay Borisov <nborisov@suse.com>
Wed, 30 Mar 2022 09:14:06 +0000 (12:14 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:10 +0000 (17:03 +0200)
commit398646011e3ce53409afda64bc2024d967e83880
treec5d8ae99c1ac3d93d0feac4c607cac2f710fdd58
parentb06660b59545f5c2a5c7f12fabaad73f9c6e2e33
btrfs: remove checks for arg argument in btrfs_ioctl_balance

With the removal of balance v1 ioctl the 'arg' argument is guaranteed to
be present so simply remove all conditional code which checks for its
presence.

Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c