Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3283754rdb; Sat, 9 Dec 2023 22:07:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyJMV4UwrD3ML3swM6n5pVexrLIJY7fd4R+4b48GR1YZWOdhmU1XsPULHnIgwimg64spX/ X-Received: by 2002:a05:6e02:194f:b0:35d:52af:bce9 with SMTP id x15-20020a056e02194f00b0035d52afbce9mr5308018ilu.1.1702188437811; Sat, 09 Dec 2023 22:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702188437; cv=none; d=google.com; s=arc-20160816; b=ztFNbujjRk1FZyswIu9Ex2oLZVWyu2R80l6MFNK9ny6FX15d/eUYUL9x/2lumPne5M h7FkiP5baaLjKFrxZ4wals3gZoTgVloHKH0b4H3oo46+PAycrjZ7Opy9/7JanXzIvQUc 0VIidOV4Xhi9CmlkWA59/55t32upl7DaSK8ksIxcSPE196cA7cN7Fyp9U7RNAiljcxFi 3oJMNhkuufumQNl7a6cQy08d7PXWrK4Rep4cH2DHrd0QQAs6AsrzO2gEFNQtLyOcrHlN jz878KV2a1YXX+EFtbql6Wxrk/Ms4UaXRkUmTfve0z5oQLVuiVfJnTqyJXFzhgIDmtyR 0YPQ== 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:dkim-signature; bh=wqSeEPanlXlOG/9n9u5KnVzekwZYv7zZQyTmk5eD/Ks=; fh=OWdsSsRi6T/rsHbYeqPBlq6diQzXTLLUYmeFzaafKZM=; b=T0K1FCw0+O3bbwD9yR5BUV4T/F29WsrU3DmieH/5qkybYSQdgZJgP+/2zIXvbzwESx FUjGbzgnfXL7ExftNaQ031TlyxZ0LbYP/DSZrhruiJTdIhlqqmr/B7qVKCFyYxBF9jQC XbyHGiB0dbSe95VNrWdaWrsqKTVC4OxaYh7z07Xx6xyTBjVXUBJYL0dobK0zjDh5Xdj3 UkLEnk/heEpTTHgpVq+tK+o6fjFtFEe+AliQkqfTQbxn0yvXDFpeVHB18cy0gNT3W669 7rluCn6Vu9sd6Ug6knGO/PbTPBYOjPi3ubDpVJIHDPsGp74cUQSqzXlYU95OSrdfrEbu U/FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=HeK3txOi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id iz14-20020a170902ef8e00b001cfb84c92fasi4109927plb.70.2023.12.09.22.07.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 22:07:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=HeK3txOi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 060CF80907A4; Sat, 9 Dec 2023 22:07:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229509AbjLJGGl (ORCPT + 99 others); Sun, 10 Dec 2023 01:06:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjLJGGk (ORCPT ); Sun, 10 Dec 2023 01:06:40 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAE55B7; Sat, 9 Dec 2023 22:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=wqSeEPanlXlOG/9n9u5KnVzekwZYv7zZQyTmk5eD/Ks=; b=HeK3txOiVsoFp2/rXM+EwnnWS+ EB+/qc5gdMOAAT6nF+KS7y7zB1iLp5+R538d9O1aOLSeWDO2IyzCBQgpVmkGn/DpMmELroTbK6Xlz gaUZB/DSVZ5HJ0mc7eOuQph5nVnqUvT9wsI1O4V8bhPckEp1/O3TgE1jDQBkU2fkjzajfni2R9fAp 0xht4IP9v2/j40pH13qifSaUoZrTpk4wTa3pnECaoYYTlou7q5U/rokdVcsPDYqbLAwdmAXrDHQ5H m3HS1GvJC7eBE1ueQhGPJKS9mRC3/mRPgydN9IS3L8hx4BRabL/VJVuYs99m7SD8KwU84PhROoIkf GaS5JJKw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rCCxh-00119d-0K; Sun, 10 Dec 2023 06:06:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Kent Overstreet , Brian Foster , linux-bcachefs@vger.kernel.org Subject: [PATCH] bcachefs: six lock: fix typos Date: Sat, 9 Dec 2023 22:06:44 -0800 Message-ID: <20231210060644.26978-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 09 Dec 2023 22:07:05 -0800 (PST) Fix a few typos in the six.h header file. Signed-off-by: Randy Dunlap Cc: Kent Overstreet Cc: Brian Foster Cc: linux-bcachefs@vger.kernel.org --- fs/bcachefs/six.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -- a/fs/bcachefs/six.h b/fs/bcachefs/six.h --- a/fs/bcachefs/six.h +++ b/fs/bcachefs/six.h @@ -15,7 +15,7 @@ * will have to take write locks for the full duration of the operation. * * But by adding an intent state, which is exclusive with other intent locks but - * not with readers, we can take intent locks at thte start of the operation, + * not with readers, we can take intent locks at the start of the operation, * and then take write locks only for the actual update to each individual * nodes, without deadlocking. * @@ -65,8 +65,8 @@ * * Reentrancy: * - * Six locks are not by themselves reentrent, but have counters for both the - * read and intent states that can be used to provide reentrency by an upper + * Six locks are not by themselves reentrant, but have counters for both the + * read and intent states that can be used to provide reentrancy by an upper * layer that tracks held locks. If a lock is known to already be held in the * read or intent state, six_lock_increment() can be used to bump the "lock * held in this state" counter, increasing the number of unlock calls that