]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
nfsd: fix comment typo in nfsxdr
authorJoseph Salisbury <joseph.salisbury@oracle.com>
Mon, 16 Mar 2026 18:28:45 +0000 (14:28 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 3 Apr 2026 13:29:07 +0000 (09:29 -0400)
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.

Signed-off-by: Joseph Salisbury <joseph.salisbury@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsxdr.c

index fc262ceafca972df353a389eea2d7e99fd6bc1d2..ae71e062131758faaa9d77e31d73e9aad606a76a 100644 (file)
@@ -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