selftests: fix some typos in tools/testing/selftests
Fix multiple spelling errors: - "rougly" -> "roughly" - "fielesystems" -> "filesystems" - "Can'" -> "Can't" Link: https://lkml.kernel.org/r/20250503211959.507815-1-chelsyratnawat2001@gmail.com Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com> Cc: Christian Brauner <brauner@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
479d26ee01
commit
f11c1efe46
@@ -156,7 +156,7 @@ TEST_F_TIMEOUT(file_stressor, slab_typesafe_by_rcu, 900 * 2)
|
||||
ssize_t nr_read;
|
||||
|
||||
/*
|
||||
* Concurrently read /proc/<pid>/fd/ which rougly does:
|
||||
* Concurrently read /proc/<pid>/fd/ which roughly does:
|
||||
*
|
||||
* f = fget_task_next(p, &fd);
|
||||
* if (!f)
|
||||
|
||||
@@ -158,7 +158,7 @@ static void do_test(int fd, size_t size, enum test_type type, bool shared)
|
||||
/*
|
||||
* R/O pinning or pinning in a private mapping is always
|
||||
* expected to work. Otherwise, we expect long-term R/W pinning
|
||||
* to only succeed for special fielesystems.
|
||||
* to only succeed for special filesystems.
|
||||
*/
|
||||
should_work = !shared || !rw ||
|
||||
fs_supports_writable_longterm_pinning(fs_type);
|
||||
|
||||
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (write(fd, "1\n", 2) < 0) {
|
||||
perror("Can' enable power floor notifications\n");
|
||||
perror("Can't enable power floor notifications\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ void workload_hint_exit(int signum)
|
||||
}
|
||||
|
||||
if (write(fd, "0\n", 2) < 0) {
|
||||
perror("Can' disable workload hints\n");
|
||||
perror("Can't disable workload hints\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (write(fd, "1\n", 2) < 0) {
|
||||
perror("Can' enable workload hints\n");
|
||||
perror("Can't enable workload hints\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user