git: 22d04fc2631e - stable/12 - nfs: Fix common typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Fri, 11 Nov 2022 04:35:43 UTC
The branch stable/12 has been updated by gbe (doc committer):

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

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

    nfs: Fix common typos in source code comments
    
    - s/attrbute/attribute/
    
    (cherry picked from commit bf312482870fb663fac4446955ca6c3090d1e7f3)
---
 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 634e76ecbd2e..6af0274947d4 100644
--- a/sys/fs/nfs/nfs_commonsubs.c
+++ b/sys/fs/nfs/nfs_commonsubs.c
@@ -2208,7 +2208,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 505ced885561..e283e8611944 100644
--- a/sys/fs/nfsserver/nfs_nfsdserv.c
+++ b/sys/fs/nfsserver/nfs_nfsdserv.c
@@ -417,7 +417,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) ||