Skip to contentSkip to conversation

selftests/landlock: fix spelling error in fs_test comment

PATCH Applied Wang Yan 3 participants 3 messages Jul 2 – Jul 8

Subsystems (3)
lore
Share & tools
lore

Wang Yan

author
#0 lore raw

PATCH v2 1/1 selftests/landlock: fix spelling error in fs_test comment

Fix typo "allowes" -> "allows" in Landlock filesystem test comment.

---
 tools/testing/selftests/landlock/fs_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/landlock/fs_test.c +1 -1
index 86e08aa6e0a7..e672089e9329 100644
@@ -6927,7 +6927,7 @@ TEST_F_FORK(layout2_overlay, same_content_different_file)
 		ASSERT_EQ(0, test_open(path_entry, O_RDWR));
 	}
 
-	/* Only allowes access to the merge hierarchy. */
+	/* Only allows access to the merge hierarchy. */
 	enforce_fs(_metadata, ACCESS_RW, layer5_merge_only);
 
 	/* Checks new accesses on lower layer. */
Signature · 1 line
2.25.1
reviewer Reviewed-by on v2 1/1
#1 lore raw
Quoted 23 lines · Wang Yan

Fix typo "allowes" -> "allows" in Landlock filesystem test comment.

---
 tools/testing/selftests/landlock/fs_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/landlock/fs_test.c +1 -1
index 86e08aa6e0a7..e672089e9329 100644
@@ -6927,7 +6927,7 @@ TEST_F_FORK(layout2_overlay, same_content_different_file)
 		ASSERT_EQ(0, test_open(path_entry, O_RDWR));
 	}
 
-	/* Only allowes access to the merge hierarchy. */
+	/* Only allows access to the merge hierarchy. */
 	enforce_fs(_metadata, ACCESS_RW, layer5_merge_only);
 
 	/* Checks new accesses on lower layer. */
Signature · 1 line
2.25.1
maintainer Applied
#2 lore raw
In reply to Wang Yan

Applied, thanks!

Quoted 24 lines · Wang Yan

Fix typo "allowes" -> "allows" in Landlock filesystem test comment.

---
 tools/testing/selftests/landlock/fs_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/landlock/fs_test.c +1 -1
index 86e08aa6e0a7..e672089e9329 100644
@@ -6927,7 +6927,7 @@ TEST_F_FORK(layout2_overlay, same_content_different_file)
 		ASSERT_EQ(0, test_open(path_entry, O_RDWR));
 	}
 
-	/* Only allowes access to the merge hierarchy. */
+	/* Only allows access to the merge hierarchy. */
 	enforce_fs(_metadata, ACCESS_RW, layer5_merge_only);
 
 	/* Checks new accesses on lower layer. */
Signature · 1 line
2.25.1