[PATCH] nfsd: fix comment typo in nfsxdr

From: Joseph Salisbury

Date: Mon Mar 16 2026 - 14:28:55 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: f5dcccd647da ("NFSD: Update the NFSv2 READDIR entry encoder to use struct xdr_stream")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Joseph Salisbury <joseph.salisbury@xxxxxxxxxx>
---
fs/nfsd/nfsxdr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfsd/nfsxdr.c b/fs/nfsd/nfsxdr.c
index fc262ceafca9..ae71e0621317 100644
--- a/fs/nfsd/nfsxdr.c
+++ b/fs/nfsd/nfsxdr.c
@@ -605,7 +605,7 @@ svcxdr_encode_entry_common(struct nfsd_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