Skip to content

Commit a5009d3

Browse files
committed
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 ebc8735 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: ebc8735 ("btrfs: Deprecate BTRFS_SUBVOL_CREATE_ASYNC flag") Signed-off-by: David Sterba <[email protected]>
1 parent d98da49 commit a5009d3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fs/btrfs/ioctl.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4195,9 +4195,6 @@ static noinline long btrfs_ioctl_start_sync(struct btrfs_root *root,
41954195
u64 transid;
41964196
int ret;
41974197

4198-
btrfs_warn(root->fs_info,
4199-
"START_SYNC ioctl is deprecated and will be removed in kernel 5.7");
4200-
42014198
trans = btrfs_attach_transaction_barrier(root);
42024199
if (IS_ERR(trans)) {
42034200
if (PTR_ERR(trans) != -ENOENT)
@@ -4225,9 +4222,6 @@ static noinline long btrfs_ioctl_wait_sync(struct btrfs_fs_info *fs_info,
42254222
{
42264223
u64 transid;
42274224

4228-
btrfs_warn(fs_info,
4229-
"WAIT_SYNC ioctl is deprecated and will be removed in kernel 5.7");
4230-
42314225
if (argp) {
42324226
if (copy_from_user(&transid, argp, sizeof(transid)))
42334227
return -EFAULT;

0 commit comments

Comments
 (0)