diff options
author | David Sterba <dsterba@suse.com> | 2019-11-04 21:29:30 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-04 21:42:01 +0100 |
commit | a5009d3a318e9f02ddc9aa3d55e2c64d6285c4b9 (patch) | |
tree | 37ed8e5d417fee92cc44faa618228761f20f05c6 /fs | |
parent | d98da49977f67394db492f06c00b1fb1cc090c05 (diff) | |
download | linux-a5009d3a318e9f02ddc9aa3d55e2c64d6285c4b9.tar.gz linux-a5009d3a318e9f02ddc9aa3d55e2c64d6285c4b9.tar.bz2 linux-a5009d3a318e9f02ddc9aa3d55e2c64d6285c4b9.zip |
btrfs: un-deprecate ioctls START_SYNC and WAIT_SYNC
The two ioctls START_SYNC and WAIT_SYNC were mistakenly marked as
deprecated and scheduled for removal but we actualy do use them for
'btrfs subvolume delete -C/-c'. The deprecated thing in ebc87351e5fc
should have been just the async flag for subvolume creation.
The deprecation has been added in this development cycle, remove it
until it's time.
Fixes: ebc87351e5fc ("btrfs: Deprecate BTRFS_SUBVOL_CREATE_ASYNC flag")
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/ioctl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 7c145a41decd..23272d9154f3 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -4195,9 +4195,6 @@ static noinline long btrfs_ioctl_start_sync(struct btrfs_root *root, u64 transid; int ret; - btrfs_warn(root->fs_info, - "START_SYNC ioctl is deprecated and will be removed in kernel 5.7"); - trans = btrfs_attach_transaction_barrier(root); if (IS_ERR(trans)) { if (PTR_ERR(trans) != -ENOENT) @@ -4225,9 +4222,6 @@ static noinline long btrfs_ioctl_wait_sync(struct btrfs_fs_info *fs_info, { u64 transid; - btrfs_warn(fs_info, - "WAIT_SYNC ioctl is deprecated and will be removed in kernel 5.7"); - if (argp) { if (copy_from_user(&transid, argp, sizeof(transid))) return -EFAULT; |