From nobody Wed Feb 09 06:20:47 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 D718F19BE818; Wed, 9 Feb 2022 06:20:48 +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 4JtqWN2TJHz4tJv; Wed, 9 Feb 2022 06:20:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644387648; 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=znvgzd5Bvmvjcu+nax1VMO2uu/zp2r5Vsg43X9ZpEFA=; b=KnNufLMIz0xvL4wIZIwzgeSAdYHPBvZf3awigs2u0TxkMwITwCaILaHxaS/Bzoxb/frYmc 97+XN0mows5nos4IrACTlgs/OCEfhTDRx9mW2DUnRith6Nc7LwK0fHWd+u5c6vk62Plpg0 N/dVnuHV2eQM6+0VEi/G08fFkEuzdyKhxazTVh6l90fAgqun/XpYXVQeoEM8AlJo5+sYyi fhoCaOmQvaw073JWzlj9Paw0m3of+1MF31BwS2kwVZrM5QAUJ97x2fhNBbrYZzPePKaZEV TpsWKmLSzotPGkSgy7QhiibidrKvloRUIcvlrUftFn6NLZ18i2wO8d/AtM78Kg== 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 F21E457; Wed, 9 Feb 2022 06:20:47 +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 2196KlcA035799; Wed, 9 Feb 2022 06:20:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2196KlWD035798; Wed, 9 Feb 2022 06:20:47 GMT (envelope-from git) Date: Wed, 9 Feb 2022 06:20:47 GMT Message-Id: <202202090620.2196KlWD035798@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: 061c19c2bd29 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 061c19c2bd29454eba63d33526fde8f5b5274477 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644387648; 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=znvgzd5Bvmvjcu+nax1VMO2uu/zp2r5Vsg43X9ZpEFA=; b=geEp2NklJ0Nzv0wyI2/iyKTRo1n1FQjkVcwteN44p7FIHpBwF5RH0t4YOgXNob2ZDEJDsi MSWkk8HcpMwQT1PJTYoAJPOyEGTCH6VEdYCAeHRQK/KNPsv6yBijITF107C2OU4xxWkUvV 3ge8omLriPbZ+EUrnrK3b+lWUZhvJAPRe+4DC30EMEIB+yq9zQVXgDJJb7vYR2A84gPN6L Cwv88iwWpuxv4amvrhgrE1SrTA41EQGLxyWGI92xPSytTy0sclpwIRSwa6z8uqjMVbZAVF 4c7U5oLbUKg/NAr0PXo7UR11f1UMliHEArdc0EA2ac6C6Jf7d9v1+2sTypx2zw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644387648; a=rsa-sha256; cv=none; b=hiOPHUZtuH+vkTa5+wkeBDMmF0IPmVayDGxphs7Pkz/zaeq+kIkjfDrQeyYlTdbJ6OFkwJ xTkw7yuyudDBEJNvEc5kCcvIf0BFgG/bECDd1swsWikbuXL6XamHJ2RUOAiXtlYHzyUo42 6wxo9K8SR46R+esmUzRgsRcrUSHvR/95M9ZNMwIpvF1BFfmgherZByK29dYVBvuPqNdyI2 C90d9zfuqC0WrfsvsUeeWRhMO4IO3VxCx0WeD+/u4UGlS0/IPnBJ0Cm0Ij0iFv9CbguNN9 QLaKBj1G9yN2F7bji77ftyddUmEEnuqbZt6NFFK3Ag0MwRSReuEwiH0uqjhwWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=061c19c2bd29454eba63d33526fde8f5b5274477 commit 061c19c2bd29454eba63d33526fde8f5b5274477 Author: Gordon Bergling AuthorDate: 2022-02-06 12:48:31 +0000 Commit: Gordon Bergling CommitDate: 2022-02-09 06:18:56 +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 043cee74fde2..a1a06eb6c3e6 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -1354,7 +1354,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 4c265a1a8bcc..79df804aceb8 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 @@ -744,7 +744,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