diff options
author | Nikolay Borisov <nborisov@suse.com> | 2022-03-30 12:14:05 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-04-06 00:49:39 +0200 |
commit | d03ae0d3b687223de24d3dd1a7bca96034aeca25 (patch) | |
tree | fdbaa224af22a8a2f13ce89301454708e4f47194 | |
parent | 6d82ad13c4110e73c7b0392f00534a1502a1b520 (diff) | |
download | linux-stable-d03ae0d3b687223de24d3dd1a7bca96034aeca25.tar.gz linux-stable-d03ae0d3b687223de24d3dd1a7bca96034aeca25.tar.bz2 linux-stable-d03ae0d3b687223de24d3dd1a7bca96034aeca25.zip |
btrfs: remove support of balance v1 ioctl
It was scheduled for removal in kernel v5.18 commit 6c405b24097c
("btrfs: deprecate BTRFS_IOC_BALANCE ioctl") thus its time has come.
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>
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index f46e71061942..be6c24577dbe 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -5456,8 +5456,6 @@ long btrfs_ioctl(struct file *file, unsigned int return btrfs_ioctl_fs_info(fs_info, argp); case BTRFS_IOC_DEV_INFO: return btrfs_ioctl_dev_info(fs_info, argp); - case BTRFS_IOC_BALANCE: - return btrfs_ioctl_balance(file, NULL); case BTRFS_IOC_TREE_SEARCH: return btrfs_ioctl_tree_search(inode, argp); case BTRFS_IOC_TREE_SEARCH_V2: |