Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp506743pxf; Wed, 7 Apr 2021 05:11:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsmOQtZtoa4JM7J1sCrD6gGVPQhmH6zhqDXHvbaN2kX4u9Wa2AWzvfIke6bhnJMy9pAtwI X-Received: by 2002:a05:6602:280f:: with SMTP id d15mr2220477ioe.127.1617797471876; Wed, 07 Apr 2021 05:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617797471; cv=none; d=google.com; s=arc-20160816; b=a/TyNv5D5MNjHTVj/gYAEgos0b3bKXE+thELuervRtuBT5hjJYGSnp3jPcEBwsLz5E wehrMLh4ehjPUmxjpUKqZfTHbMJIspA6FGWOcuMV4d3QWimE8DclwyjgTHPBwTobVfaJ u2UZbPQTNCKRDh2e+fFFPlNLholeoEAD/ReT1HeXmrCnuauHFz42NgJlnPCA/Y3rL7gU l8F61aLfM2rXyOz8CaRSKoP3x6q4RynlfLcvV34ZODFDb1tKnnvpgUoyoTLFK5cTTgyM Qp2D+YtxFBGYB/KHxWU7TgDGlQojzi9Gto/hipD+GaYa/6aCRNUm4bETJJSlD8S+cILT qhuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date; bh=DDNGl7FIePLI6JElL/vSBQxSB5Z2kGiMRjpXhgm7E9M=; b=yykllSdHBZ97PJfaeo+SuV21ewdo4Xrz4bgsGrsMw+KTVS40dsi/n4n06THi1xYutJ nu7VFZ2peS57dHTn+SIRHeaf2Dx/14fRhbq2upt2PQlvF5f+RnCSjkWrXf+tuX6M0C4i /2Z64qpN2btOpAzHjmclXPqKz8q1DVMxU8FkCteJjloypzN482Du6Qu/pfJoNhpJPyW5 zET6NJENslj1R1kNZzRZIw8lA+M1X0KkdxiTcf2RMbFxhZSONR4d+oQeFL8T+7KZsSzA AzoYmDzQEyCSzUrPwdcv6nomZHErupZs8dPCUP1y5vOpHX/vrr//o2DLHetFabiB6XCW pN6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p8si19826583ilm.53.2021.04.07.05.10.59; Wed, 07 Apr 2021 05:11:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235079AbhDFT0H (ORCPT + 99 others); Tue, 6 Apr 2021 15:26:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:36746 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234556AbhDFT0E (ORCPT ); Tue, 6 Apr 2021 15:26:04 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 087E9B2FC; Tue, 6 Apr 2021 19:25:55 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id AEA7DDA732; Tue, 6 Apr 2021 21:23:42 +0200 (CEST) Date: Tue, 6 Apr 2021 21:23:42 +0200 From: David Sterba To: Wan Jiabing Cc: Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, kael_w@yeah.net Subject: Re: [PATCH] fs: btrfs: Remove repeated struct declaration Message-ID: <20210406192342.GO7604@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Wan Jiabing , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, kael_w@yeah.net References: <20210401080339.999529-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210401080339.999529-1-wanjiabing@vivo.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 01, 2021 at 04:03:39PM +0800, Wan Jiabing wrote: > struct btrfs_inode is declared twice. One is declared at 67th line. > The blew declaration is not needed. Remove the duplicate. > struct btrfs_fs_info should be declared in the forward declarations. > Move it to the forward declarations. I've reworded the changelog a bit, patch added to misc-next, thanks.