From nobody Wed Feb 09 06:28:36 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 383D419C3F41; Wed, 9 Feb 2022 06:28:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JtqhN41RCz4yxV; Wed, 9 Feb 2022 06:28:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644388116; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bLqXVEk2UkUUAOpmfBamtSU7DIvJvrDkE+PMeoj5CdQ=; b=lvhNeoEyziQhk8I7TVIddHpjk7lj0yT1+tM8mvFoVC617tYnXpCIdqcAj0xzuOjq3KwzgW S39x4Xd2hzpvBoj1zlTmmttxwquB4s8RnOePr0toFse5pKbMIhqmcXAtDu0wSWxDM5agyu fSnUZOFcot50q7fjoxP40acpmu8rr2+OaChG2O0gof4HtNHKXSmc8V+vHY/ss0DqtvIpy4 0YYVkEOyccYoWG2w8zVmZpo7MN7wYx/gX/Gvzz4zLQdYimqawckuGoZi0jSDuG/ctDyJ6y q/jv8hWT14nHzmen48GMsEFor8BWil5j4fgslPT9tyIB+u+BSEceZB875lsVVQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5D02821D; Wed, 9 Feb 2022 06:28:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2196SadS038242; Wed, 9 Feb 2022 06:28:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2196Sa4c038241; Wed, 9 Feb 2022 06:28:36 GMT (envelope-from git) Date: Wed, 9 Feb 2022 06:28:36 GMT Message-Id: <202202090628.2196Sa4c038241@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: c43213bf0ee6 - stable/12 - fs: fix a few common typos in source code comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: c43213bf0ee6da7a122e1dad21f259a319e6b28d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644388116; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bLqXVEk2UkUUAOpmfBamtSU7DIvJvrDkE+PMeoj5CdQ=; b=yZyqd/78YslNp6wDMZxNTz4At/L135DgPWsjZQJyT+GsfoDL6k1pWpbq57WDPChEgDyVzp T9C/vz2xVgsZG1s6S1A+UTsCsUWW2zixh/ILlXTTP0g5QF0BORWBDVJjD46xycPnB7yC5x 0+e516JkHPP8k6sKs6fTZ+36K6FIeOSajkrOumjLiQtoUTe8+IsPEf/7IzC9Mvu6ccloGn L/E2EowD4jCkWT0pNI2xecoih421TpcNguHzcVoo2ld5wRgKhBMHWt9pazyBR80m10yhvn MPxx3+QqxQRJNHWDFoJ2xh16kOIM7wpVi874vzwfSxJ8f+0YLNPSWn4KIlHJgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644388116; a=rsa-sha256; cv=none; b=VBUSAnU70wXdXzSuxQ+Hm0OPi5y2eQjZ7qotq49SK6kGYaTI+gOHTs/BoHScam1O1yqCZx aXtSDEsHu62oBqpSrh8HIMoSnTKm8Luzow8IoLwuppDQWoGeZY/5QJ3YLv2tGzFa/KhCEP ikEE6YieZsmhjLUrvLFeMANUtBDfAiWP7ocahDWPizQWf/+/lLJkR9SRzY5aaxiOcTHXHw SxkBUP8Jw13faBG5jH++hrjRv1tRDJUv0gQEzO5XRgX9qcYyJsOjapPutXWF1VP5UTkcQ7 9em2ZGIuT/Qd87q293+lZqOsrNV51lRGlRG/GivVuFjKktSv4hUv9g7jgxzo9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=c43213bf0ee6da7a122e1dad21f259a319e6b28d commit c43213bf0ee6da7a122e1dad21f259a319e6b28d Author: Gordon Bergling AuthorDate: 2022-02-06 12:48:31 +0000 Commit: Gordon Bergling CommitDate: 2022-02-09 06:26:47 +0000 fs: fix a few common typos in source code comments - s/quadradically/quadratically/ - s/persistant/persistent/ Obtained from: NetBSD (cherry picked from commit 8ea3ceda7644b7b93532d0c31b50ac5fa61e51a3) --- sys/fs/devfs/devfs_vnops.c | 2 +- sys/fs/ext2fs/ext2_alloc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index db94aeb76dc3..67abbc3a1a48 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -1212,7 +1212,7 @@ devfs_pathconf(struct vop_pathconf_args *ap) #ifdef MAC /* * If MAC is enabled, devfs automatically supports - * trivial non-persistant label storage. + * trivial non-persistent label storage. */ *ap->a_retval = 1; #else diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c index 2595ed4636bd..144fdec0a101 100644 --- a/sys/fs/ext2fs/ext2_alloc.c +++ b/sys/fs/ext2fs/ext2_alloc.c @@ -90,13 +90,13 @@ static daddr_t ext2_mapsearch(struct m_ext2fs *, char *, daddr_t); * 1) allocate the requested block. * 2) allocate a rotationally optimal block in the same cylinder. * 3) allocate a block in the same cylinder group. - * 4) quadradically rehash into other cylinder groups, until an + * 4) quadratically rehash into other cylinder groups, until an * available block is located. * If no block preference is given the following hierarchy is used * to allocate a block: * 1) allocate a block in the cylinder group that contains the * inode for the file. - * 2) quadradically rehash into other cylinder groups, until an + * 2) quadratically rehash into other cylinder groups, until an * available block is located. */ int @@ -743,7 +743,7 @@ ext2_blkpref(struct inode *ip, e2fs_lbn_t lbn, int indx, e2fs_daddr_t *bap, * * The policy implemented by this algorithm is: * 1) allocate the block in its requested cylinder group. - * 2) quadradically rehash on the cylinder group number. + * 2) quadratically rehash on the cylinder group number. * 3) brute force search for a free block. */ static e4fs_daddr_t