From patchwork Tue Jun 5 16:43:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10448617 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 282566024A for ; Tue, 5 Jun 2018 16:43:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1779F29986 for ; Tue, 5 Jun 2018 16:43:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C30F2998D; Tue, 5 Jun 2018 16:43:14 +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_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY 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 9CCDC29986 for ; Tue, 5 Jun 2018 16:43:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751812AbeFEQnN (ORCPT ); Tue, 5 Jun 2018 12:43:13 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:47070 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751748AbeFEQnM (ORCPT ); Tue, 5 Jun 2018 12:43:12 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w55GfEdp028326; Tue, 5 Jun 2018 16:43:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : from : to : cc : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=EVkigVx1mhBUBTi0ux4LlbaxyiYA4dKTWASzLDPFFwo=; b=YM0gw9cvzLTHMQ0aoF51FiJIkdSu5IrMaUPIOryMmxVf/mdy3GhI9Ze4t3dEksRaHUwK 9CtJY0jcB9Df6yBpuLgMwHlD8ugSg7AZ4GwGla5hNjvVit93tYrTLOeN/nch2jN2Rc5a 8WFg2eux4y9FeA2SxpDe9XlU9awtD+aY1HWmj7jmfH4tz/3h55XqprRJzF8+pehfilYE rpnqaA9KSt72tNSQOWuHsYJ/cvLewq37I8UTwIYCf9hYCFomViVPiFPzAiAiani25LZU RTbC1hJOEk0B/PtvbOn4KxZdbdmTxif0scbUu5Sn/oki1Lxw17HbA+eaHnR4kr5YRCGA oQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2jbvyp94b4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 05 Jun 2018 16:43:10 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w55GhAh7008693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Jun 2018 16:43:10 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w55Gh9l6008581; Tue, 5 Jun 2018 16:43:09 GMT Received: from localhost (/10.159.157.7) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 05 Jun 2018 09:43:09 -0700 Subject: [PATCH 2/6] xfs/122: fix sb_fname[XFSLABEL_MAX] in test From: "Darrick J. Wong" To: guaneryu@gmail.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org Date: Tue, 05 Jun 2018 09:43:02 -0700 Message-ID: <152821698275.24976.1415491462214552908.stgit@magnolia> In-Reply-To: <152821697018.24976.12939094615403004592.stgit@magnolia> References: <152821697018.24976.12939094615403004592.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8915 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=726 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806050192 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong We recently redefined sb_fname's array length to use a symbolic constant instead of a magic number, so update this test accordingly. Signed-off-by: Darrick J. Wong --- tests/xfs/122 | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe fstests" 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/tests/xfs/122 b/tests/xfs/122 index d8366701..0de99b6d 100755 --- a/tests/xfs/122 +++ b/tests/xfs/122 @@ -218,6 +218,7 @@ cat /usr/include/xfs/xfs*.h | indent |\ awk ' /typedef struct xfs_sb/ { structon = 1; next } structon && $2 ~ /^sb_/ { sub(/[;,]/,"",$2) + sub(/XFSLABEL_MAX/,"12",$2) printf("printf(\"offsetof(xfs_sb_t, %s) = \\%zu\\n\", offsetof(xfs_sb_t, %s));", $2, $2); next} structon && /}/ { structon = 0; next} '>>$cprog