diff mbox series

[1/6] btrfs-progs: ioctl-test: add LOGICAL_INO_V2

Message ID 20191127035509.15011-2-ce3g8jdj@umail.furryterror.org (mailing list archive)
State New, archived
Headers show
Series btrfs-progs: add support for LOGICAL_INO_V2 features in logical-resolve | expand

Commit Message

Zygo Blaxell Nov. 27, 2019, 3:55 a.m. UTC
Same as LOGICAL_INO, except a different magic number.

Signed-off-by: Zygo Blaxell <ce3g8jdj@umail.furryterror.org>
---
 ioctl-test.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/ioctl-test.c b/ioctl-test.c
index 65d584be..a79a13b0 100644
--- a/ioctl-test.c
+++ b/ioctl-test.c
@@ -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));