fs/nfsd/nfs3xdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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@vger.kernel.org
Signed-off-by: Joseph Salisbury <joseph.salisbury@oracle.com>
---
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
From: Chuck Lever <chuck.lever@oracle.com>
On Mon, 16 Mar 2026 14:25:16 -0400, Joseph Salisbury wrote:
> 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.
>
> [...]
Applied to nfsd-testing, thanks!
Removed Fixes: and Cc: stable -- not appropriate for fixes to
misspellings in code comments.
[1/1] nfsd: fix comment typo in nfs3xdr
commit: d62daf7b8995e05cca3465a21139f619db860ccb
--
Chuck Lever
© 2016 - 2026 Red Hat, Inc.