Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp720870imn; Tue, 26 Jul 2022 07:36:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sDxau3++iPCOlRlZT+iyth8Q0rvf2pr55u67PtAZcQqtzdUWhTHODrtt/CXhBdCo3TsVeq X-Received: by 2002:a17:902:f70d:b0:16c:50a2:78d1 with SMTP id h13-20020a170902f70d00b0016c50a278d1mr16969659plo.34.1658846214681; Tue, 26 Jul 2022 07:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658846214; cv=none; d=google.com; s=arc-20160816; b=clsVxAn8VL5S/61hajEbvuCiXQZ+aQhs8SN85TZHjNNJ6o7zoOGe6lPAaCY0LLSWUt 9HzLxUm+kd+Xbnr49BdIzpp3ESTls0BDXef/1Tsdl2kIzxEB8DmTHKfNIOLoJTdLiOjr iGp+owDJLN6F4jVXTbPf+Gwjz57xTzn6Tit1T+db3BgVd3O+s0SuX26hLV8xpfeJF6wX S47+UDp0Ar0SS9pxscEF1uRhodC9hQdG9tUDa1RzcwEAaAdJTV72a38/CZkBFm1ijShb A1syyubQQyvyVtLFf+GZNB5lcdZWNzhnoor/2ZDvDbV0JIlTk+3MnZA1SyToxoSJHSna XO0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=1PAzMQ/pvT6+aSVT0WrYgvTfe31W9BGTC2/VYEIWnlg=; b=FwZ4Mo7kbzHdvUkWZtWgkwcoYoA7sSgahFR2IbRKOrAjW3L5pHwv3ueBkfkgnLkoIh 0goKX7G/A1ilU8TQ6ioj8Q35AuFljuHjPuP4c0jitglXR1l5YFyKe55vordKrySu9UUz pNb7yxdB5nIFFhe8alF2Jn6QgijWnJzEMT+SzdwGsLn/yQCz/ojWl8QF+FIIFiFYZrPz hOvg2OL2blPXmI8WMHTwYEINqwvzqSe1+UHm6XU0Ofpvsf+C9ZC65UbIGL5qxzbnKvtF i5X+s/M47CHwDQVL59VuFKQ5FDvSpczDQba0CItP0yxqGJ4Jq75E2qMgq+lQ5daiXSsA ZyZg== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ng15-20020a17090b1a8f00b001ef8ca42e53si19936468pjb.183.2022.07.26.07.36.38; Tue, 26 Jul 2022 07:36:54 -0700 (PDT) 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239241AbiGZO3h (ORCPT + 99 others); Tue, 26 Jul 2022 10:29:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233444AbiGZO3g (ORCPT ); Tue, 26 Jul 2022 10:29:36 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5810DB9 for ; Tue, 26 Jul 2022 07:29:34 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LsfQ73cphzgY8Q; Tue, 26 Jul 2022 22:27:43 +0800 (CST) Received: from huawei.com (10.175.124.27) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 26 Jul 2022 22:29:31 +0800 From: Miaohe Lin To: , , CC: , , Subject: [PATCH v2 0/5] A few cleanup and fixup patches for hugetlbfs Date: Tue, 26 Jul 2022 22:29:13 +0800 Message-ID: <20220726142918.51693-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, This series contains a few cleaup patches to remove unneeded forward declaration, use helper macro and so on. More details can be found in the respective changelogs. Thanks! --- v2: collect Reviewed-by tag per Mike. reshape the comment of 4/5 per Mike. drop code change in 5/5 and change to correct the comment per Mike. Many thanks Mike for review. --- Miaohe Lin (5): hugetlbfs: use helper macro SZ_1{K,M} hugetlbfs: remove unneeded hugetlbfs_ops forward declaration hugetlbfs: remove unneeded header file hugetlbfs: cleanup some comments in inode.c hugetlbfs: fix inaccurate comment in hugetlbfs_statfs() fs/hugetlbfs/inode.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) -- 2.23.0