From nobody Sun Feb 06 12:48:45 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 640E319288DD; Sun, 6 Feb 2022 12:48:45 +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 4Js8GP29Bmz3qZF; Sun, 6 Feb 2022 12:48:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644151725; 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=QfjPIqV/1rwvFpyapkKaJUUmaBEgb2P2iTv12FYoAcI=; b=B56GJQ4us32tWA3hoSIySAVvgHszVU/7tWJWJVA+2gYltmTPBmtjLZz7GaUp4dk+wBO5Y6 GN9GisHr7ACmEZ470IZ+ruOutJHKNEfK8VTMAV6a1DocgNSpElM6bid52SEZIWOYLnyjTD BL28BtJOT6sfnmS2/N/4x8gkRIr5SjwbIFHip8IimuHJmWLwX40JlMjwtJCyGtLJZfS8jL 4u7ThfLRiFZxQsZrJLUfuPb40YcrlqMTgTU+L6VaMrS8w5EST5IC3GObnx10eaRHVZ5DPZ 3lVLIvbdnahzejWnpETwBTDbncLoTjmnkaO1+4Jv+j+WiEVY+YgPztP07Ek+fQ== 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 2A33C1297E; Sun, 6 Feb 2022 12:48:45 +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 216CmjIw069450; Sun, 6 Feb 2022 12:48:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 216CmjfH069449; Sun, 6 Feb 2022 12:48:45 GMT (envelope-from git) Date: Sun, 6 Feb 2022 12:48:45 GMT Message-Id: <202202061248.216CmjfH069449@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 8ea3ceda7644 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 8ea3ceda7644b7b93532d0c31b50ac5fa61e51a3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644151725; 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=QfjPIqV/1rwvFpyapkKaJUUmaBEgb2P2iTv12FYoAcI=; b=USzEflm/GOfHL37eWgSqYxoo0NaeyERNcZ4hoZ1edlWZSUhw0qIxyKbhv7qPUuI123Kgvu T2+fKeTfBbLr7iNXKBLblNa+2/JKeZpgUw58aWLlMQZfO/DcbtIELVhyK/9d6yo5ELHN8r jiPRjE+wj+twC2DYgD1h8c75PQ3J7rR36QDNCTfjBXZ1GfjePPRDnz7Swv6eLCNN8gOOpW h7a8q7EDsGhgwY44qnjvj3qIv3vNU4NKj2opq0R8r430r53rJrLAwtOoFECb4C/Gf11BUU L081KGeV4+6Svyc905Y3N4RF5wxcqljEyytwCDulNuBoC9gCssJ/DQAOkEjXjw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644151725; a=rsa-sha256; cv=none; b=g/U+hGYEQjfHAqTKs3PVeAeMQn5X/7DSdYAb9mBR/JAUlBDFPIHMr5CD6mEOlk/lpbDHOv Yo5dcAwyz+3vniugFfUDCQS+BPVUrx+A7uBoXgd5Z2H2Ns270ISYnt3XvoGFVdYurj3jqt H4DDPSkXZU36pwhJw4YT0kOGfHkx8/TXRkQiyOCHY83woTwNdXosEOCnGreM+NysckXxwN cmcYOnfv+dY0kbLkiAg1G1OBT1rzt3Rj2H/8mGWoLpo0/TjBX1tV334U2CfII1NNWVDRXx ++bPl23IO6jkHVPlwtedVN3iAlnPCtW/hfVhwbHtJNv3PytHer8NFbzvlSVhIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=8ea3ceda7644b7b93532d0c31b50ac5fa61e51a3 commit 8ea3ceda7644b7b93532d0c31b50ac5fa61e51a3 Author: Gordon Bergling AuthorDate: 2022-02-06 12:48:31 +0000 Commit: Gordon Bergling CommitDate: 2022-02-06 12:48:31 +0000 fs: fix a few common typos in source code comments - s/quadradically/quadratically/ - s/persistant/persistent/ Obtained from: NetBSD MFC after: 3 days --- 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 d003820d4a3a..7b571a6821b7 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -1345,7 +1345,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