]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: deprecate BTRFS_IOC_BALANCE ioctl
authorNikolay Borisov <nborisov@suse.com>
Wed, 10 Nov 2021 11:41:04 +0000 (13:41 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 16 Nov 2021 15:51:19 +0000 (16:51 +0100)
commit86b3cfac9b999ecfd1a852d1ccd465db5be3d7a4
treeab26dfbc219c6707482cf11eec69d0c1e6370ae9
parent30648158076804c3fe8d10958f682d2d5e5da34c
btrfs: deprecate BTRFS_IOC_BALANCE ioctl

The v2 balance ioctl has been introduced more than 9 years ago. Users of
the old v1 ioctl should have long been migrated to it. It's time we
deprecate it and eventually remove it.

The only known user is in btrfs-progs that tries v1 as a fallback in
case v2 is not supported. This is not necessary anymore.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
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