Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752646AbdLFSTb (ORCPT ); Wed, 6 Dec 2017 13:19:31 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:35756 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752155AbdLFST0 (ORCPT ); Wed, 6 Dec 2017 13:19:26 -0500 Date: Wed, 6 Dec 2017 10:19:22 -0800 From: "Darrick J. Wong" To: Pravin Shedge Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 22/45] fs: xfs: remove duplicate includes Message-ID: <20171206181922.GL19219@magnolia> References: <1512576966-4303-1-git-send-email-pravin.shedge4linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1512576966-4303-1-git-send-email-pravin.shedge4linux@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8737 signatures=668643 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712060260 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2163 Lines: 72 On Wed, Dec 06, 2017 at 09:46:06PM +0530, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. > > Signed-off-by: Pravin Shedge Looks ok, will pick this up. Reviewed-by: Darrick J. Wong > --- > fs/xfs/scrub/scrub.c | 1 - > fs/xfs/scrub/trace.c | 1 - > fs/xfs/xfs_reflink.c | 2 -- > fs/xfs/xfs_trace.c | 1 - > 4 files changed, 5 deletions(-) > > diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c > index 9c42c4e..ab3aef2 100644 > --- a/fs/xfs/scrub/scrub.c > +++ b/fs/xfs/scrub/scrub.c > @@ -46,7 +46,6 @@ > #include "scrub/scrub.h" > #include "scrub/common.h" > #include "scrub/trace.h" > -#include "scrub/scrub.h" > #include "scrub/btree.h" > > /* > diff --git a/fs/xfs/scrub/trace.c b/fs/xfs/scrub/trace.c > index 472080e..86daed0 100644 > --- a/fs/xfs/scrub/trace.c > +++ b/fs/xfs/scrub/trace.c > @@ -26,7 +26,6 @@ > #include "xfs_mount.h" > #include "xfs_defer.h" > #include "xfs_da_format.h" > -#include "xfs_defer.h" > #include "xfs_inode.h" > #include "xfs_btree.h" > #include "xfs_trans.h" > diff --git a/fs/xfs/xfs_reflink.c b/fs/xfs/xfs_reflink.c > index cc041a2..cf7c8f8 100644 > --- a/fs/xfs/xfs_reflink.c > +++ b/fs/xfs/xfs_reflink.c > @@ -49,8 +49,6 @@ > #include "xfs_alloc.h" > #include "xfs_quota_defs.h" > #include "xfs_quota.h" > -#include "xfs_btree.h" > -#include "xfs_bmap_btree.h" > #include "xfs_reflink.h" > #include "xfs_iomap.h" > #include "xfs_rmap_btree.h" > diff --git a/fs/xfs/xfs_trace.c b/fs/xfs/xfs_trace.c > index 5d95fe3..35f3546 100644 > --- a/fs/xfs/xfs_trace.c > +++ b/fs/xfs/xfs_trace.c > @@ -24,7 +24,6 @@ > #include "xfs_mount.h" > #include "xfs_defer.h" > #include "xfs_da_format.h" > -#include "xfs_defer.h" > #include "xfs_inode.h" > #include "xfs_btree.h" > #include "xfs_da_btree.h" > -- > 2.7.4 > > -- > 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