[PATCH v1] jffs2: fix comment typo and adjust formatting

Baolin Liu liubaolin12138 at 163.com
Tue Jun 3 19:20:56 PDT 2025


From: Baolin Liu <liubaolin at kylinos.cn>

This commit makes two documentation improvements:
1. Fixes spelling of "coresponding" to "corresponding"
2. Adjusts comment formatting to meet kernel style guidelines by:
   - Breaking long lines to fit 80-column limit
   - Aligning asterisks in multi-line comments
   - Improving readability while preserving original meaning

No functional changes.

Signed-off-by: Baolin Liu <liubaolin at kylinos.cn>
---
 fs/jffs2/build.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/fs/jffs2/build.c b/fs/jffs2/build.c
index 6ae9d6fefb86..1e651d3dcef3 100644
--- a/fs/jffs2/build.c
+++ b/fs/jffs2/build.c
@@ -185,8 +185,10 @@ static int jffs2_build_filesystem(struct jffs2_sb_info *c)
 			 * one. */
 			if (fd->type == DT_DIR) {
 				if (!fd->ic) {
-					/* We'll have complained about it and marked the coresponding
-					   raw node obsolete already. Just skip it. */
+					/* We'll have complained about it
+					 * and marked the corresponding raw node obsolete already.
+					 * Just skip it.
+					 */
 					continue;
 				}
 
-- 
2.39.2




More information about the linux-mtd mailing list