[PATCH] nfsd: fix comment typo in nfs3xdr
From: Joseph Salisbury
Date: Mon Mar 16 2026 - 14:25:28 EST
The file contains a spelling error in a source comment (occured).
Typos in comments reduce readability and make text searches less reliable
for developers and maintainers.
Replace 'occured' with 'occurred' in the affected comment. This is a
comment-only cleanup and does not change behavior.
Fixes: 7f87fc2d34d4 ("NFSD: Update NFSv3 READDIR entry encoders to use struct xdr_stream")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Joseph Salisbury <joseph.salisbury@xxxxxxxxxx>
---
fs/nfsd/nfs3xdr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/nfsd/nfs3xdr.c b/fs/nfsd/nfs3xdr.c
index ef4971d71ac4..2ff9a991a8fb 100644
--- a/fs/nfsd/nfs3xdr.c
+++ b/fs/nfsd/nfs3xdr.c
@@ -1069,7 +1069,7 @@ svcxdr_encode_entry3_common(struct nfsd3_readdirres *resp, const char *name,
*
* Return values:
* %0: Entry was successfully encoded.
- * %-EINVAL: An encoding problem occured, secondary status code in resp->common.err
+ * %-EINVAL: An encoding problem occurred, secondary status code in resp->common.err
*
* On exit, the following fields are updated:
* - resp->xdr
@@ -1144,7 +1144,7 @@ svcxdr_encode_entry3_plus(struct nfsd3_readdirres *resp, const char *name,
*
* Return values:
* %0: Entry was successfully encoded.
- * %-EINVAL: An encoding problem occured, secondary status code in resp->common.err
+ * %-EINVAL: An encoding problem occurred, secondary status code in resp->common.err
*
* On exit, the following fields are updated:
* - resp->xdr
--
2.47.3