btrfs-progs: ioctl-test: add LOGICAL_INO_V2

Same as LOGICAL_INO, except a different magic number.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zygo Blaxell <ce3g8jdj@umail.furryterror.org>
Signed-off-by: David Sterba <dsterba@suse.com>
Zygo Blaxell 2019-11-26 22:55:04 -05:00 committed by David Sterba
parent 3fc2326d34
commit 8987681299
1 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,8 @@
ONE(BTRFS_IOC_GET_FEATURES) \
ONE(BTRFS_IOC_SET_FEATURES) \
ONE(BTRFS_IOC_GET_SUPPORTED_FEATURES) \
ONE(BTRFS_IOC_RM_DEV_V2)
ONE(BTRFS_IOC_RM_DEV_V2) \
ONE(BTRFS_IOC_LOGICAL_INO_V2)
#define LIST \
LIST_BASE \
@ -160,6 +161,7 @@ static struct ioctl_number expected_list[] = {
{ BTRFS_IOC_SET_FEATURES, 0x0040309439 },
{ BTRFS_IOC_GET_SUPPORTED_FEATURES, 0x0080489439 },
{ BTRFS_IOC_RM_DEV_V2, 0x005000943a },
{ BTRFS_IOC_LOGICAL_INO_V2, 0x00c038943b },
};
static struct btrfs_ioctl_vol_args used_vol_args __attribute__((used));