Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2165201ybh; Sun, 15 Mar 2020 20:48:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuHvd5vnaJ7eNRvKjURDnJVTG84lRR4X4ag4BKc1t3s2F8u/RtzILlsEOnORzfJ7fhwr9Yc X-Received: by 2002:aca:4a55:: with SMTP id x82mr2718093oia.28.1584330490805; Sun, 15 Mar 2020 20:48:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584330490; cv=none; d=google.com; s=arc-20160816; b=k7e9V3V0Q7aEYOLxVNRGHhk8CnIaBtUjxNnOg5RZL2Q3T0OtdYXHl+InPpqbSX3sYD QWZpXq+foEqKaVeK6eJgXVSrs5BajAZxaFXeFZsrUZ2mNw/iMuNb5EY+pw7RHHP70URz UuaWR2Knhd0H5psbns+lj0fjmXJfJSNuRCGtd3DBJR6wD+gxt9A5wtz+CpF94d2SvZDu dSLbv8WTx4m2wDm+P3XWIRiiWDuMSvDXxcARXpvhV0tmwEALkTIrwNYNPzQgldu/xGsV gt3J6mssTQFPlZH+nHcQoQ/+9ykONI38VTyom9rgkRHfdD5AcvaIx0EsZK3Sr+j0uLxo hrJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=PkGHqB+F7d3Q2GvjKZeeDvPKpXQ4ruFbPQVcUGZZELc=; b=NZfFoVXGwHf/sCOYihcQFD1s34LkwgiiouzfCuRUpCumL4achtxO+m04Mza8cvnK1l z8yINEj4GzlISUIrKHqswcX8Y+XAhggTpA0j6UCh56t8HhSdhhnoQehu1b2ICLvVsOy5 LkSplct6MSymhDWKTb3orsVDXubQlVQb30tkXo5yNGlYmyqwxSrjFMeNkF+lUfvI7ONG zS7J8sgcGtrGthLhqPURK+wtxl0JzkGPdBK2wajno9J/Qd4L+/yPLIw6HLzfYiNfvWJx S5us3tvV6rqOMSsm9dyRxbOlIenQymavU29Q1PYbewuehayfhcPUPrQ0cmUE3oFk+1J5 ev2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3si9068411oib.82.2020.03.15.20.47.57; Sun, 15 Mar 2020 20:48:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729434AbgCPDqV (ORCPT + 99 others); Sun, 15 Mar 2020 23:46:21 -0400 Received: from m176115.mail.qiye.163.com ([59.111.176.115]:29247 "EHLO m176115.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729387AbgCPDqV (ORCPT ); Sun, 15 Mar 2020 23:46:21 -0400 Received: from localhost.localdomain (unknown [58.251.74.227]) by m176115.mail.qiye.163.com (Hmail) with ESMTPA id 0F225664012; Mon, 16 Mar 2020 11:46:10 +0800 (CST) From: Zheng Wei To: Catalin Marinas , Will Deacon , Chris Mason , Josef Bacik , David Sterba , Allison Randal , Greg Kroah-Hartman , Hanjun Guo , Enrico Weigelt , Yunfeng Ye , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org Cc: kernel@vivo.com, wenhu.wang@vivo.com, Zheng Wei Subject: [PATCH v2,RESEND] btrfs: fix the duplicated definition of 'inode_item_err' Date: Mon, 16 Mar 2020 11:45:57 +0800 Message-Id: <20200316034600.125962-1-wei.zheng@vivo.com> X-Mailer: git-send-email 2.17.1 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZT1VMS0hCQkJCQk1KQ05IWVdZKFlBSE 83V1ktWUFJV1kJDhceCFlBWTU0KTY6NyQpLjc#WQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NAw6HRw6NTg0CjdKDgsaKUIP SR0wFDxVSlVKTkNPSEhLSExLQ09CVTMWGhIXVQweElUBEx4VHDsNEg0UVRgUFkVZV1kSC1lBWU5D VUlOSlVMT1VJSUxZV1kIAVlBSU9OTjcG X-HM-Tid: 0a70e172eeb39373kuws0f225664012 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove the duplicated definition of 'inode_item_err' in the file tree-checker.c Signed-off-by: Zheng Wei --- changelog v1 -> v2 - resend for the failure of delivery to some recipients. fs/btrfs/tree-checker.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c index a92f8a6dd192..517b44300a05 100644 --- a/fs/btrfs/tree-checker.c +++ b/fs/btrfs/tree-checker.c @@ -957,10 +957,6 @@ static int check_dev_item(struct extent_buffer *leaf, return 0; } -/* Inode item error output has the same format as dir_item_err() */ -#define inode_item_err(eb, slot, fmt, ...) \ - dir_item_err(eb, slot, fmt, __VA_ARGS__) - static int check_inode_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) { -- 2.17.1