Re: [PATCH] btrfs-progs: use the correct struct for BTRFS_IOC_LOGICAL_INO

2016-07-04 Thread David Sterba
On Mon, Jul 04, 2016 at 02:13:18PM +0200, David Sterba wrote: > On Sun, Jul 03, 2016 at 11:22:26PM +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

Re: [PATCH] btrfs-progs: use the correct struct for BTRFS_IOC_LOGICAL_INO

2016-07-04 Thread David Sterba
On Sun, Jul 03, 2016 at 11:22:26PM +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-progs: 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