From patchwork Thu Jun 7 11:37:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eryu Guan X-Patchwork-Id: 10451743 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1F4E060233 for ; Thu, 7 Jun 2018 11:37:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E0A429D16 for ; Thu, 7 Jun 2018 11:37:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0216229DFF; Thu, 7 Jun 2018 11:37:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A63BE29DB7 for ; Thu, 7 Jun 2018 11:37:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932181AbeFGLhX (ORCPT ); Thu, 7 Jun 2018 07:37:23 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:44615 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932118AbeFGLhV (ORCPT ); Thu, 7 Jun 2018 07:37:21 -0400 Received: by mail-pl0-f65.google.com with SMTP id z9-v6so5964615plk.11; Thu, 07 Jun 2018 04:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=685id8Bto9jyeu4JcuxtT38vL6h3NhruuRXPsbotFIE=; b=K9HeVVrG/ArCmujzDXU6ghT4aBz30PJiqjNkbssWglt7DdNRlMuTcAO7X0ZfVAKanA uLQ6Az8pglplilXuiSIpmdp4jdzojwYGYCIJCJG0T/6a9XYS8OLmdhynfrDcZd3mJfwf NDDvkMEtaxV4Ar+NJ3HNgabiW6EDS+GUl4pAkNUjlZOtU4KFd2UIQU5GNmWViIMn3J/b vx8hOq4KUlZ0s1lyjC+IPDWUmi4DEIeQW08zad15bcEF3+iFPL7gJqRctH8fQCPk8Uyw 7f+Bbk509VOBvzu+80ebT/IXT3LYeJT/onxdlQWUEI7cCnqDIhiMVoVcpEO8YF0IPTGm 3QfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=685id8Bto9jyeu4JcuxtT38vL6h3NhruuRXPsbotFIE=; b=afhXvoHJ4YaCrh41suD9WZsUtLk64uMDRkGKXPQDddHso7VIUtxNYpzgSfaiSqWC3w AfYMTJTJSs/0BwBCl4Jms/v8CiUhGJOat0g9sa2vAL0SjT3p5wRxcYT0tL36L2+qwh+i ZEikogwzlBNfgj/79itx90GN7jV/WGrwvVD7SNtpwG8Ike/KOG/WAKFvelI51gm3h6tP RgQn8UQBXrHJCQ0LUr9YeBiMPwsT/AnIqqW4/R+SqdS0KbpRuye8BUtBFRo7Tbqzjz6q WtWBOu1d5b+qM074M6q8eHVAFiizGo3WMK4wZtZNAdvNzpVFAYTVDfPwFM45CwP1h5+W V0GQ== X-Gm-Message-State: APt69E0nqrpzW8+Z8wlME/g9xnlirWOHWL4f+TjUtgg4GNVnZn6rMT28 iswlzJpL1XUne5dxQSBZIG1MQiW3+1Q= X-Google-Smtp-Source: ADUXVKJip17jrrtjwnp4U9wHF6gjum4z2T+PeKYaHyHMNZns88UGm59Qbz88GMk8ytmQ4QJqOspxag== X-Received: by 2002:a17:902:8d8b:: with SMTP id v11-v6mr1687409plo.20.1528371440556; Thu, 07 Jun 2018 04:37:20 -0700 (PDT) Received: from localhost ([128.199.137.77]) by smtp.gmail.com with ESMTPSA id a18-v6sm82165158pfn.117.2018.06.07.04.37.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Jun 2018 04:37:19 -0700 (PDT) Date: Thu, 7 Jun 2018 19:37:13 +0800 From: Eryu Guan To: "Darrick J. Wong" Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org Subject: Re: [PATCH 5/6] xfs: abstract xfs_info into $XFS_INFO_PROG Message-ID: <20180607113713.GA1103@desktop> References: <152821697018.24976.12939094615403004592.stgit@magnolia> <152821700731.24976.1667061625518547754.stgit@magnolia> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <152821700731.24976.1667061625518547754.stgit@magnolia> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Tue, Jun 05, 2018 at 09:43:27AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong > > Abstract calls to xfs_info into $XFS_INFO_PROG like we do for all other > xfs utilities. > > Signed-off-by: Darrick J. Wong > --- > common/attr | 2 +- > common/config | 1 + > common/populate | 18 +++++++++--------- > common/rc | 2 +- Better to make xfs_info mandatory too when testing xfs, so I did the below diff on commit Thanks, Eryu --- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/common/rc b/common/rc index f04c9ea2fd89..9d6665b6c4d7 100644 --- a/common/rc +++ b/common/rc @@ -136,6 +136,7 @@ case "$FSTYP" in [ "$XFS_REPAIR_PROG" = "" ] && _fatal "xfs_repair not found" [ "$XFS_DB_PROG" = "" ] && _fatal "xfs_db not found" [ "$MKFS_XFS_PROG" = "" ] && _fatal "mkfs_xfs not found" + [ "$XFS_INFO_PROG" = "" ] && _fatal "xfs_info not found" . ./common/xfs ;;