Message ID | 202303071517050653678@zte.com.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2293570wrd; Mon, 6 Mar 2023 23:32:34 -0800 (PST) X-Google-Smtp-Source: AK7set8JmysLzhNt8Ptt9hq9VPaD1vgBIfdVTdVA/svNh118WL4E6I7PSKrTi78CuUkPkYztu0pD X-Received: by 2002:a17:902:6a81:b0:19d:20f7:daf5 with SMTP id n1-20020a1709026a8100b0019d20f7daf5mr11711979plk.28.1678174353820; Mon, 06 Mar 2023 23:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678174353; cv=none; d=google.com; s=arc-20160816; b=DjxTw8TP9A8xaYyl8mnEX+GYZPGIpV0rTCV1s+NKeTR0Ub63+ec+tnr6jtEcFeYSD3 qZmkvoTY0oP86wSbdDGT9H1A5M9Kf9GoSrL96P1bw1IUtljoUamUJ52m3yelHTwYFkUl 1SKt6jNqu8ti7yT0iaBXLuJdOsheEPUQo6PP1uzj1Tnjri6h70AKjp73+VM+Is8iF+yG hE4K50Rof7cCNqnQRDfaX8K8d3I5GKkFLIy3ikxjdr3rZ9X8IzIOdtKPycZFL48aZcld IfPNFz8Zp/QWawgFNRGnAbEkNHMU30Au373rtNUqnCYl8vnSoVj5APfNgFDCEoWQai2G sjyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:mime-version:message-id:date; bh=Whzdfdifh9UtSvIhaM+vYLA2qQ5P61GF5ts/HXGASdc=; b=dnLPed99aTFKfrz3FN7DXwIErN63kKnQeyTfQBFN/alr6igLZ4uYOwmi35zjMXxGSq dQTSR+YF7yanh84QpFonUxIRKZ7t9D2g9WkmKvTD7LIRIZvM01DVGC2s/8yuf5skVHjo 8FJhauu5ke/AFY+mS/Dx8kzZJsfLQCzkFxBuKmL89i5bb6eEujTWvalk9zD/0zYF8CpX zkZ1emnNBdYv71CbPpRAjnko7wc7huWB9gNzqoDwh1U1r3vRZSpORPnwVle2NICkiyh6 vI/JC+S6rfeqq0I+iQjtWhPW2wPhjh4gcTRejxDjPFo96J8tgE6OGTmAcj6UeaS4XFaV b6Nw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ks5-20020a170903084500b0019a78d4c761si11152234plb.93.2023.03.06.23.32.21; Mon, 06 Mar 2023 23:32:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230421AbjCGHRa (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 7 Mar 2023 02:17:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjCGHR1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Mar 2023 02:17:27 -0500 Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FAB86B5CF; Mon, 6 Mar 2023 23:17:25 -0800 (PST) Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4PW6GC4KMlz6FK2c; Tue, 7 Mar 2023 15:17:23 +0800 (CST) Received: from xaxapp03.zte.com.cn ([10.88.97.17]) by mse-fl2.zte.com.cn with SMTP id 3277H3Oq095010; Tue, 7 Mar 2023 15:17:03 +0800 (+08) (envelope-from ye.xingchen@zte.com.cn) Received: from mapi (xaxapp01[null]) by mapi (Zmail) with MAPI id mid31; Tue, 7 Mar 2023 15:17:05 +0800 (CST) Date: Tue, 7 Mar 2023 15:17:05 +0800 (CST) X-Zmail-TransId: 2af96406e4f1ffffffff8a9e6520 X-Mailer: Zmail v1.0 Message-ID: <202303071517050653678@zte.com.cn> Mime-Version: 1.0 From: <ye.xingchen@zte.com.cn> To: <brauner@kernel.org> Cc: <dchinner@redhat.com>, <willy@infradead.org>, <viro@zeniv.linux.org.uk>, <reiserfs-devel@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: =?utf-8?q?=5BPATCH=5D_reiserfs=3A_remove_duplicate_include_header_i?= =?utf-8?q?n_xattr=2Ec?= Content-Type: text/plain; charset="UTF-8" X-MAIL: mse-fl2.zte.com.cn 3277H3Oq095010 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.250.138.novalocal with ID 6406E503.001 by FangMail milter! X-FangMail-Envelope: 1678173443/4PW6GC4KMlz6FK2c/6406E503.001/10.5.228.133/[10.5.228.133]/mse-fl2.zte.com.cn/<ye.xingchen@zte.com.cn> X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 6406E503.001/4PW6GC4KMlz6FK2c X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759693351220696930?= X-GMAIL-MSGID: =?utf-8?q?1759693351220696930?= |
Series |
reiserfs: remove duplicate include header in xattr.c
|
|
Commit Message
ye.xingchen@zte.com.cn
March 7, 2023, 7:17 a.m. UTC
From: Ye Xingchen <ye.xingchen@zte.com.cn> linux/xattr.h is included more than once. Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn> --- fs/reiserfs/xattr.c | 1 - 1 file changed, 1 deletion(-)
Comments
On Tue, Mar 07, 2023 at 03:17:05PM +0800, ye.xingchen@zte.com.cn wrote: > From: Ye Xingchen <ye.xingchen@zte.com.cn> > > linux/xattr.h is included more than once. > > Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn> > --- I mean, yeah, it's included in the local xattr.h file but honestly reiserfs is marked deprecated and I just don't think that we should bother with cleaning up things that are _that_ minor. If it was the compiler complaining about some unused variable then for sure but this just seems pointless imho at this terminal stage... > fs/reiserfs/xattr.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c > index 651027967159..ed1984775a4f 100644 > --- a/fs/reiserfs/xattr.c > +++ b/fs/reiserfs/xattr.c > @@ -43,7 +43,6 @@ > #include <linux/fs.h> > #include <linux/file.h> > #include <linux/pagemap.h> > -#include <linux/xattr.h> > #include "xattr.h" > #include "acl.h" > #include <linux/uaccess.h> > -- > 2.25.1
diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c index 651027967159..ed1984775a4f 100644 --- a/fs/reiserfs/xattr.c +++ b/fs/reiserfs/xattr.c @@ -43,7 +43,6 @@ #include <linux/fs.h> #include <linux/file.h> #include <linux/pagemap.h> -#include <linux/xattr.h> #include "xattr.h" #include "acl.h" #include <linux/uaccess.h>