Skip to content

Commit d04b1de

Browse files
Alexander Blockchrismason-xx
authored andcommitted
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: Alexander Block <[email protected]> Signed-off-by: Chris Mason <[email protected]>
1 parent 17de39a commit d04b1de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/btrfs/ioctl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,15 @@ struct btrfs_data_container {
252252

253253
struct btrfs_ioctl_ino_path_args {
254254
__u64 inum; /* in */
255-
__u32 size; /* in */
255+
__u64 size; /* in */
256256
__u64 reserved[4];
257257
/* struct btrfs_data_container *fspath; out */
258258
__u64 fspath; /* out */
259259
};
260260

261261
struct btrfs_ioctl_logical_ino_args {
262262
__u64 logical; /* in */
263-
__u32 size; /* in */
263+
__u64 size; /* in */
264264
__u64 reserved[4];
265265
/* struct btrfs_data_container *inodes; out */
266266
__u64 inodes;

0 commit comments

Comments
 (0)