Commit d04b1deb authored by Alexander Block's avatar Alexander Block Committed by Chris Mason

btrfs: Fix mismatching struct members in ioctl.h

Fix the size members of btrfs_ioctl_ino_path_args and
btrfs_ioctl_logical_ino_args. The user space btrfs-progs utilities used
__u64 and the kernel headers used __u32 before.
Signed-off-by: default avatarAlexander Block <ablock84@googlemail.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 17de39ac
...@@ -252,7 +252,7 @@ struct btrfs_data_container { ...@@ -252,7 +252,7 @@ struct btrfs_data_container {
struct btrfs_ioctl_ino_path_args { struct btrfs_ioctl_ino_path_args {
__u64 inum; /* in */ __u64 inum; /* in */
__u32 size; /* in */ __u64 size; /* in */
__u64 reserved[4]; __u64 reserved[4];
/* struct btrfs_data_container *fspath; out */ /* struct btrfs_data_container *fspath; out */
__u64 fspath; /* out */ __u64 fspath; /* out */
...@@ -260,7 +260,7 @@ struct btrfs_ioctl_ino_path_args { ...@@ -260,7 +260,7 @@ struct btrfs_ioctl_ino_path_args {
struct btrfs_ioctl_logical_ino_args { struct btrfs_ioctl_logical_ino_args {
__u64 logical; /* in */ __u64 logical; /* in */
__u32 size; /* in */ __u64 size; /* in */
__u64 reserved[4]; __u64 reserved[4];
/* struct btrfs_data_container *inodes; out */ /* struct btrfs_data_container *inodes; out */
__u64 inodes; __u64 inodes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment