git: bf312482870f - main - nfs: Fix common typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Tue, 08 Nov 2022 13:58:44 UTC
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=bf312482870fb663fac4446955ca6c3090d1e7f3

commit bf312482870fb663fac4446955ca6c3090d1e7f3
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-11-08 13:58:32 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-11-08 13:58:32 +0000

    nfs: Fix common typos in source code comments
    
    - s/attrbute/attribute/
    
    MFC after:      3 days
---
 sys/fs/nfs/nfs_commonsubs.c     | 2 +-
 sys/fs/nfsserver/nfs_nfsdserv.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/fs/nfs/nfs_commonsubs.c b/sys/fs/nfs/nfs_commonsubs.c
index b16aa428556f..c974e029efa8 100644
--- a/sys/fs/nfs/nfs_commonsubs.c
+++ b/sys/fs/nfs/nfs_commonsubs.c
@@ -2247,7 +2247,7 @@ nfsv4_loadattr(struct nfsrv_descript *nd, vnode_t vp,
 				*retcmpp = NFSERR_ATTRNOTSUPP;
 			/*
 			 * and get out of the loop, since we can't parse
-			 * the unknown attrbute data.
+			 * the unknown attribute data.
 			 */
 			bitpos = NFSATTRBIT_MAX;
 			break;
diff --git a/sys/fs/nfsserver/nfs_nfsdserv.c b/sys/fs/nfsserver/nfs_nfsdserv.c
index 23360f9e3909..e37f8f445a11 100644
--- a/sys/fs/nfsserver/nfs_nfsdserv.c
+++ b/sys/fs/nfsserver/nfs_nfsdserv.c
@@ -462,7 +462,7 @@ nfsrvd_setattr(struct nfsrv_descript *nd, __unused int isdgram,
 
 	if (!nd->nd_repstat && (nd->nd_flag & ND_NFSV4)) {
 	    /*
-	     * For V4, try setting the attrbutes in sets, so that the
+	     * For V4, try setting the attributes in sets, so that the
 	     * reply bitmap will be correct for an error case.
 	     */
 	    if (NFSISSET_ATTRBIT(&attrbits, NFSATTRBIT_OWNER) ||