orangefs: fix typos and repeated words in comments
cover orangefs: fix typos and repeated words in comments
This corrects 2 misspellings and repeated words in comments. Each is a separate patch so that any one of them can be dropped without touching the rest.
Nothing outside comments changes. Every touched C file was checked by dropping its comments, replacing each string literal with a placeholder and collapsing whitespace; what remained was identical before and after, so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in scripts/spelling.txt. The scanning, the edits and the changelogs were produced with Cursor running the claude-opus-5 model, from a request to find and fix spelling mistakes across the tree, and every correction was then re-checked by the comparison described above. Words that name an identifier were left alone deliberately, even when they read as typos, because correcting the prose would make the comment disagree with the code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which is clean. Nothing else was built, so any patch touching code that x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
orangefs: fix typo "overriden" in comment
orangefs: fix repeated word in log message
fs/orangefs/file.c | 2 +- fs/orangefs/orangefs-debugfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.48.1
PATCH 1/2 orangefs: fix typo "overriden" in comment
Correct "overriden" to "overridden", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- fs/orangefs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/orangefs/file.c +1 -1
@@ -490,7 +490,7 @@ static int orangefs_fsync(struct file *file,/* * Change the file pointer position for an instance of an open file. * -* \note If .llseek is overriden, we must acquire lock as described in +* \note If .llseek is overridden, we must acquire lock as described in * Documentation/filesystems/locking.rst. * * Future upgrade could support SEEK_DATA and SEEK_HOLE but would
Signature · 1 line
2.48.1
PATCH 2/2 orangefs: fix repeated word in log message
In reply to Hemanth SelamDrop the word written twice, reported by checkpatch.pl as a possible repeated word.
Only the message text changes, no code changes.
--- fs/orangefs/orangefs-debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/orangefs/orangefs-debugfs.c +1 -1
@@ -940,7 +940,7 @@ int orangefs_debugfs_new_client_mask(void __user *arg) client_debug_mask.mask1 = mask2_info.mask1_value; client_debug_mask.mask2 = mask2_info.mask2_value; - pr_info("%s: client debug mask has been been received " + pr_info("%s: client debug mask has been received " ":%llx: :%llx:\n", __func__, (unsigned long long)client_debug_mask.mask1,
Signature · 1 line
2.48.1