aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-11-08 13:58:32 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-11-11 04:35:22 +0000
commit22d04fc2631e6d27f5b7defb00fd7e33ec239c2b (patch)
tree468de4eee3ae0dd9bf6d312befd6ce427bf67d92
parentc54f01a0cbb00210f23bbe3196d48a9b611638f8 (diff)
downloadsrc-22d04fc2631e6d27f5b7defb00fd7e33ec239c2b.tar.gz
src-22d04fc2631e6d27f5b7defb00fd7e33ec239c2b.zip
nfs: Fix common typos in source code comments
- s/attrbute/attribute/ (cherry picked from commit bf312482870fb663fac4446955ca6c3090d1e7f3)
-rw-r--r--sys/fs/nfs/nfs_commonsubs.c2
-rw-r--r--sys/fs/nfsserver/nfs_nfsdserv.c2
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) ||