History

btrfs: put btrfs_ioctl_vol_args_v2 related defines together

Just a code spatial rearrangement, no functional change.

Anand Jain committed 8 years ago

Commit ad8bc4d1 parent 0f628c61 file · +6 −5Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/btrfs.h+6−5
@@ -33,7 +33,12 @@ struct btrfs_ioctl_vol_args { · 32 unmodified lines
3333 char name[BTRFS_PATH_NAME_MAX + 1];
3434 };
3535
36−#define BTRFS_DEVICE_PATH_NAME_MAX 1024
36+#define BTRFS_DEVICE_PATH_NAME_MAX 1024
37+#define BTRFS_SUBVOL_NAME_MAX 4039
38+
39+#define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0)
40+#define BTRFS_SUBVOL_RDONLY (1ULL << 1)
41+#define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2)
3742
3843 #define BTRFS_DEVICE_SPEC_BY_ID (1ULL << 3)
3944
@@ -101,11 +106,7 @@ struct btrfs_ioctl_qgroup_limit_args { · 61 unmodified lines
101106 * - BTRFS_IOC_SUBVOL_GETFLAGS
102107 * - BTRFS_IOC_SUBVOL_SETFLAGS
103108 */
104−#define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0)
105−#define BTRFS_SUBVOL_RDONLY (1ULL << 1)
106−#define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2)
107109
108−#define BTRFS_SUBVOL_NAME_MAX 4039
109110 struct btrfs_ioctl_vol_args_v2 {
110111 __s64 fd;
111112 __u64 transid;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t