git: 3e46bd0672bd - stable/13 - nfs: Fix common typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Nov 2022 04:34:43 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=3e46bd0672bde4ed6e0a7c441840a50cc477d594
commit 3e46bd0672bde4ed6e0a7c441840a50cc477d594
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:33:57 +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 9759df2fcc23..fe961d17453f 100644
--- a/sys/fs/nfs/nfs_commonsubs.c
+++ b/sys/fs/nfs/nfs_commonsubs.c
@@ -2249,7 +2249,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 2bb113b6441d..75e764b9b51e 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) ||