From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12F7DC4363A for ; Wed, 28 Oct 2020 22:31:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A478920728 for ; Wed, 28 Oct 2020 22:31:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ByipIkb7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387940AbgJ1Wbl (ORCPT ); Wed, 28 Oct 2020 18:31:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387904AbgJ1Wba (ORCPT ); Wed, 28 Oct 2020 18:31:30 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08EA8C0613CF for ; Wed, 28 Oct 2020 15:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=J0xULd9Gnp2Y1H3NgBBIqBBMdY9D5TWHhLQFKvUwk0Q=; b=ByipIkb76f0WMClntW0L48i16z wNIvst9S9R3DehaeQ5XNPuLWqRk9k9e7I8x8Lj5t/QO+KwSkqGvKqaLp7e3kpeDuNYubn5nGszw7o ci0xsJC7WWm3mwOQwAlRI3vx4iLg02mgodTX4idgtKMZ67iNjAW+dVfbIO8JWqbxnbg68I28j22Fo qcWH5fwLm98K+zJcpCSo4+o5TQw5QP9RHi4VtQ0Ujbhgch0UixBR9mRITVFYa3C20ACMkfgz5p1YR dp8yiZaJxzxNkEZ0z1PbSn0nT8gxl35IHRFk8FAs/CANU2zC8+I2n355q5tZ3xPZeyKlYXctBZGWy 4Bb1nyPQ==; Received: from [2601:1c0:6280:3f0::507c] (helo=smtpauth.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXqut-0004iN-U3; Wed, 28 Oct 2020 19:15:28 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Alexey Dobriyan , Andrew Morton Subject: [PATCH] procfs: delete duplicated words + other fixes Date: Wed, 28 Oct 2020 12:15:25 -0700 Message-Id: <20201028191525.13413-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Delete repeated words in fs/proc/. {the, which} where "which which" was changed to "with which". Signed-off-by: Randy Dunlap To: linux-fsdevel@vger.kernel.org Cc: Alexey Dobriyan Cc: Andrew Morton --- This is a resend because Alexey requested that I send this thru Andrew. fs/proc/base.c | 2 +- fs/proc/proc_net.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- linux-next-20200804.orig/fs/proc/base.c +++ linux-next-20200804/fs/proc/base.c @@ -2016,7 +2016,7 @@ const struct dentry_operations pid_dentr * file type from dcache entry. * * Since all of the proc inode numbers are dynamically generated, the inode - * numbers do not exist until the inode is cache. This means creating the + * numbers do not exist until the inode is cache. This means creating * the dcache entry in readdir is necessary to keep the inode numbers * reported by readdir in sync with the inode numbers reported * by stat. --- linux-next-20200804.orig/fs/proc/proc_net.c +++ linux-next-20200804/fs/proc/proc_net.c @@ -140,7 +140,7 @@ EXPORT_SYMBOL_GPL(proc_create_net_data); * @mode: The file's access mode. * @parent: The parent directory in which to create. * @ops: The seq_file ops with which to read the file. - * @write: The write method which which to 'modify' the file. + * @write: The write method with which to 'modify' the file. * @data: Data for retrieval by PDE_DATA(). * * Create a network namespaced proc file in the @parent directory with the @@ -232,7 +232,7 @@ EXPORT_SYMBOL_GPL(proc_create_net_single * @mode: The file's access mode. * @parent: The parent directory in which to create. * @show: The seqfile show method with which to read the file. - * @write: The write method which which to 'modify' the file. + * @write: The write method with which to 'modify' the file. * @data: Data for retrieval by PDE_DATA(). * * Create a network-namespaced proc file in the @parent directory with the