Re: [PATCH] Btrfs: use the correct struct for BTRFS_IOC_LOGICAL_INO

2016-07-04 Thread David Sterba
On Sun, Jul 03, 2016 at 11:23:06PM +0200, Hans van Kranenburg wrote: > BTRFS_IOC_LOGICAL_INO takes a btrfs_ioctl_logical_ino_args as argument, > not a btrfs_ioctl_ino_path_args. The lines were probably copy/pasted > when the code was written. > > Since btrfs_ioctl_logical_ino_args and btrfs_ioctl_

[PATCH] Btrfs: use the correct struct for BTRFS_IOC_LOGICAL_INO

2016-07-03 Thread Hans van Kranenburg
BTRFS_IOC_LOGICAL_INO takes a btrfs_ioctl_logical_ino_args as argument, not a btrfs_ioctl_ino_path_args. The lines were probably copy/pasted when the code was written. Since btrfs_ioctl_logical_ino_args and btrfs_ioctl_ino_path_args have the same size, the actual IOCTL definition here does not cha