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
33 char name[BTRFS_PATH_NAME_MAX + 1];33 char name[BTRFS_PATH_NAME_MAX + 1];
34};34};
35 35
36#define BTRFS_DEVICE_PATH_NAME_MAX 102436#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)
37 42
38#define BTRFS_DEVICE_SPEC_BY_ID (1ULL << 3)43#define BTRFS_DEVICE_SPEC_BY_ID (1ULL << 3)
39 44
@@ -101,11 +106,7 @@ struct btrfs_ioctl_qgroup_limit_args { · 61 unmodified lines
101 * - BTRFS_IOC_SUBVOL_GETFLAGS106 * - BTRFS_IOC_SUBVOL_GETFLAGS
102 * - BTRFS_IOC_SUBVOL_SETFLAGS107 * - BTRFS_IOC_SUBVOL_SETFLAGS
103 */108 */
104#define BTRFS_SUBVOL_CREATE_ASYNC (1ULL << 0)
105#define BTRFS_SUBVOL_RDONLY (1ULL << 1)
106#define BTRFS_SUBVOL_QGROUP_INHERIT (1ULL << 2)
107 109
108#define BTRFS_SUBVOL_NAME_MAX 4039
109struct btrfs_ioctl_vol_args_v2 {110struct btrfs_ioctl_vol_args_v2 {
110 __s64 fd;111 __s64 fd;
111 __u64 transid;112 __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