History

btrfs: Remove BTRFS_SUBVOL_CREATE_ASYNC support

This functionality was deprecated in kernel 5.4. Since no one has complained of the impending removal it's time we did so.

Nikolay Borisov committed 6 years ago

Commit 9c1036f1 parent c75e8392 files · +9 −29Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/btrfs.h+8−5
@@ -36,7 +36,12 @@ struct btrfs_ioctl_vol_args { · 35 unmodified lines
3636 #define BTRFS_DEVICE_PATH_NAME_MAX 1024
3737 #define BTRFS_SUBVOL_NAME_MAX 4039
3838
39−#define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0)
39+/*
40+ * Deprecated since 5.7:
41+ *
42+ * BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0)
43+ */
44+
4045 #define BTRFS_SUBVOL_RDONLY (1ULL << 1)
4146 #define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2)
4247
@@ -45,8 +50,7 @@ struct btrfs_ioctl_vol_args { · 2 unmodified lines
4550 #define BTRFS_SUBVOL_SPEC_BY_ID (1ULL << 4)
4651
4752 #define BTRFS_VOL_ARG_V2_FLAGS_SUPPORTED \
48− (BTRFS_SUBVOL_CREATE_ASYNC | \
49− BTRFS_SUBVOL_RDONLY | \
53+ (BTRFS_SUBVOL_RDONLY | \
5054 BTRFS_SUBVOL_QGROUP_INHERIT | \
5155 BTRFS_DEVICE_SPEC_BY_ID | \
5256 BTRFS_SUBVOL_SPEC_BY_ID)
@@ -116,8 +120,7 @@ struct btrfs_ioctl_qgroup_limit_args { · 63 unmodified lines
116120
117121 /* Supported flags for BTRFS_IOC_SNAP_CREATE_V2 and BTRFS_IOC_SUBVOL_CREATE_V2 */
118122 #define BTRFS_SUBVOL_CREATE_ARGS_MASK \
119− (BTRFS_SUBVOL_CREATE_ASYNC | \
120− BTRFS_SUBVOL_RDONLY | \
123+ (BTRFS_SUBVOL_RDONLY | \
121124 BTRFS_SUBVOL_QGROUP_INHERIT)
122125
123126 /* Supported flags for BTRFS_IOC_SNAP_DESTROY_V2 */