From patchwork Fri Oct 5 00:19:39 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: 10627083 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D27F2175A for ; Fri, 5 Oct 2018 00:19:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4FF1292FD for ; Fri, 5 Oct 2018 00:19:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B911029308; Fri, 5 Oct 2018 00:19:45 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable 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 6FE6D29301 for ; Fri, 5 Oct 2018 00:19:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727576AbeJEHPp (ORCPT ); Fri, 5 Oct 2018 03:15:45 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:53414 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbeJEHPo (ORCPT ); Fri, 5 Oct 2018 03:15:44 -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 w950IZ9A011832; Fri, 5 Oct 2018 00:19:41 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-2018-07-02; bh=0bt/fmCFqhNkDIHtlpG8I+XOH/dsZRELvl98UzH8UvM=; b=C2vz+yDRGiHYwNDHoCivR2pCJwqjL3otSnxE35dTgVOll8mOAEU7iJcbE3hZV8Kn1c0Q A6v1MGwL3iHJlZI+gQVbofCybZ+mqTu2Nm3yUk39OR6Fvyl9Pv1HwVL/rW2soxQvQjEF RVoKbzhe0Xv5Hcw7VFxQ1ib199abBcMVTQ/4qMq1MyujG6jSRcPFMwq2+s9kvHtnvx2F 3L5RCNc2l8V0H2LLu+ac/m1CeLCP9IVJsVMagTp00sE2rAGPUPmPn12L8eof0Ght8lJm ois+ofDoFu1fvpIJpoDWt8szMMwMomXqrXCxcosR3l94LZnDn1Kl6mKp87DiQcAVAHv6 og== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2mt0tu7kfs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 Oct 2018 00:19:41 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w950JfAn016802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 5 Oct 2018 00:19:41 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w950Jeul009042; Fri, 5 Oct 2018 00:19:41 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 04 Oct 2018 17:19:40 -0700 Subject: [PATCH 5/6] xfs/288: shut up verifier error From: "Darrick J. Wong" To: guaneryu@gmail.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, fstests@vger.kernel.org Date: Thu, 04 Oct 2018 17:19:39 -0700 Message-ID: <153869877948.26648.4238107405182797711.stgit@magnolia> In-Reply-To: <153869874763.26648.516233620615833277.stgit@magnolia> References: <153869874763.26648.516233620615833277.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9036 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=744 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810050002 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong Ignore the verifier errors when we fuzz hdr.count to zero. Signed-off-by: Darrick J. Wong --- tests/xfs/288 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/288 b/tests/xfs/288 index c6821909..13ba3057 100755 --- a/tests/xfs/288 +++ b/tests/xfs/288 @@ -62,7 +62,7 @@ _scratch_xfs_set_metadata_field "hdr.count" "0" \ # verify current xfs_db write command can set hdr.count to 0. Old xfsprogs # can't do that on v5 filesystems. count=$(_scratch_xfs_get_metadata_field "hdr.count" \ - "inode $inum" "ablock 0") + "inode $inum" "ablock 0" 2> /dev/null) if [ "$count" != "0" ]; then _notrun "xfs_db can't set attr hdr.count to 0" fi