Skip to contentSkip to conversation

udf: Fix spelling mistake "lenght" -> "length"

PATCH In review Colin Ian King 2 participants 2 messages Dec 30, 2022 – Jan 2, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udf: Fix spelling mistake "lenght" -> "length"

There is a spelling mistake in a udf_err message. Fix it.

---
 fs/udf/directory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/udf/directory.c +1 -1
index a4c91905b033..18a1514871fe 100644
@@ -34,7 +34,7 @@ static int udf_verify_fi(struct udf_fileident_iter *iter)
 	len = udf_dir_entry_len(&iter->fi);
 	if (le16_to_cpu(iter->fi.lengthOfImpUse) & 3) {
 		udf_err(iter->dir->i_sb,
-			"directory (ino %lu) has entry at pos %llu with unaligned lenght of impUse field\n",
+			"directory (ino %lu) has entry at pos %llu with unaligned length of impUse field\n",
 			iter->dir->i_ino, (unsigned long long)iter->pos);
 		return -EFSCORRUPTED;
 	}
Signature · 1 line
2.30.2
#1 lore raw
Quoted 3 lines · Colin Ian King

There is a spelling mistake in a udf_err message. Fix it.

Thanks! I've merged the patch to my tree.

Honza

Quoted 20 lines
---
 fs/udf/directory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/udf/directory.c +1 -1
index a4c91905b033..18a1514871fe 100644
@@ -34,7 +34,7 @@ static int udf_verify_fi(struct udf_fileident_iter *iter)
 	len = udf_dir_entry_len(&iter->fi);
 	if (le16_to_cpu(iter->fi.lengthOfImpUse) & 3) {
 		udf_err(iter->dir->i_sb,
-			"directory (ino %lu) has entry at pos %llu with unaligned lenght of impUse field\n",
+			"directory (ino %lu) has entry at pos %llu with unaligned length of impUse field\n",
 			iter->dir->i_ino, (unsigned long long)iter->pos);
 		return -EFSCORRUPTED;
 	}
Signature · 1 line
2.30.2
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR