From patchwork Wed Nov 27 03:55:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygo Blaxell X-Patchwork-Id: 11263407 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1AAC31875 for ; Wed, 27 Nov 2019 04:44:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 027E72075C for ; Wed, 27 Nov 2019 04:44:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727047AbfK0EoL (ORCPT ); Tue, 26 Nov 2019 23:44:11 -0500 Received: from james.kirk.hungrycats.org ([174.142.39.145]:48386 "EHLO james.kirk.hungrycats.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727016AbfK0EoK (ORCPT ); Tue, 26 Nov 2019 23:44:10 -0500 X-Envelope-Mail-From: zblaxell@waya.furryterror.org X-Envelope-Mail-From: zblaxell@waya.furryterror.org Received: from waya.furryterror.org (waya.vpn7.hungrycats.org [10.132.226.63]) by james.kirk.hungrycats.org (Postfix) with ESMTP id BA27E4F8A76; Tue, 26 Nov 2019 23:37:44 -0500 (EST) Received: from zblaxell by waya.furryterror.org with local (Exim 4.92) (envelope-from ) id 1iZp5E-0003PD-Bl; Tue, 26 Nov 2019 23:37:44 -0500 From: Zygo Blaxell To: linux-btrfs@vger.kernel.org Subject: [PATCH 1/6] btrfs-progs: ioctl-test: add LOGICAL_INO_V2 Date: Tue, 26 Nov 2019 22:55:04 -0500 Message-Id: <20191127035509.15011-2-ce3g8jdj@umail.furryterror.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191127035509.15011-1-ce3g8jdj@umail.furryterror.org> References: <20191127035509.15011-1-ce3g8jdj@umail.furryterror.org> MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Same as LOGICAL_INO, except a different magic number. Signed-off-by: Zygo Blaxell --- ioctl-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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));