Skip to content

Commit

Permalink
btrfs: Fix mismatching struct members in ioctl.h
Browse files Browse the repository at this point in the history
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: Alexander Block <ablock84@googlemail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Alexander Block authored and Chris Mason committed May 4, 2012
1 parent 17de39a commit d04b1de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,15 +252,15 @@ struct btrfs_data_container {

struct btrfs_ioctl_ino_path_args {
__u64 inum; /* in */
__u32 size; /* in */
__u64 size; /* in */
__u64 reserved[4];
/* struct btrfs_data_container *fspath; out */
__u64 fspath; /* out */
};

struct btrfs_ioctl_logical_ino_args {
__u64 logical; /* in */
__u32 size; /* in */
__u64 size; /* in */
__u64 reserved[4];
/* struct btrfs_data_container *inodes; out */
__u64 inodes;
Expand Down

0 comments on commit d04b1de

Please sign in to comment.