|
@@ -291,10 +291,10 @@ struct btrfs_ioctl_feature_flags {
|
|
struct btrfs_balance_args {
|
|
struct btrfs_balance_args {
|
|
__u64 profiles;
|
|
__u64 profiles;
|
|
union {
|
|
union {
|
|
- __le64 usage;
|
|
|
|
|
|
+ __u64 usage;
|
|
struct {
|
|
struct {
|
|
- __le32 usage_min;
|
|
|
|
- __le32 usage_max;
|
|
|
|
|
|
+ __u32 usage_min;
|
|
|
|
+ __u32 usage_max;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
__u64 devid;
|
|
__u64 devid;
|
|
@@ -324,8 +324,8 @@ struct btrfs_balance_args {
|
|
* Process chunks that cross stripes_min..stripes_max devices,
|
|
* Process chunks that cross stripes_min..stripes_max devices,
|
|
* BTRFS_BALANCE_ARGS_STRIPES_RANGE
|
|
* BTRFS_BALANCE_ARGS_STRIPES_RANGE
|
|
*/
|
|
*/
|
|
- __le32 stripes_min;
|
|
|
|
- __le32 stripes_max;
|
|
|
|
|
|
+ __u32 stripes_min;
|
|
|
|
+ __u32 stripes_max;
|
|
|
|
|
|
__u64 unused[6];
|
|
__u64 unused[6];
|
|
} __attribute__ ((__packed__));
|
|
} __attribute__ ((__packed__));
|