]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: use the correct struct for BTRFS_IOC_LOGICAL_INO
authorHans van Kranenburg <hans.van.kranenburg@mendix.com>
Sun, 3 Jul 2016 21:23:06 +0000 (23:23 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:52:25 +0000 (13:52 +0200)
commit77817737d3cc30b8034fc2736ec79e20e3585ae2
treed6442cd528f73a0565b7ce131db2bb32ea0ca775
parenta14040f780401dd771e78207b4ba49bd5a69ceeb
Btrfs: use the correct struct for BTRFS_IOC_LOGICAL_INO

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 change.

But, it makes the code less confusing for the reader.

Signed-off-by: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/uapi/linux/btrfs.h