f2fs-tools: fix a few spelling errors in f2fs-tools
typo fix.
Signed-off-by: Victor Westerhuis <victor@westerhu.is>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fsck/mount.c b/fsck/mount.c
index 8ebc5b0..fc3ecb9 100644
--- a/fsck/mount.c
+++ b/fsck/mount.c
@@ -2482,7 +2482,7 @@
se->valid_blocks = valid_blocks;
type = se->type;
if (type >= NO_CHECK_TYPE) {
- ASSERT_MSG("Invalide type and valid blocks=%x,%x",
+ ASSERT_MSG("Invalid type and valid blocks=%x,%x",
segno, valid_blocks);
type = 0;
}
diff --git a/man/defrag.f2fs.8 b/man/defrag.f2fs.8
index b08399b..34113de 100644
--- a/man/defrag.f2fs.8
+++ b/man/defrag.f2fs.8
@@ -48,7 +48,7 @@
Specify the starting block address.
.TP
.BI \-l " number of blocks"
-Specifiy the number of blocks to move.
+Specify the number of blocks to move.
.TP
.BI \-t " target block address"
Specify the destination block address.
diff --git a/man/mkfs.f2fs.8 b/man/mkfs.f2fs.8
index 85b6019..0aca4dc 100644
--- a/man/mkfs.f2fs.8
+++ b/man/mkfs.f2fs.8
@@ -98,7 +98,7 @@
is used to create a f2fs file system (usually in a disk partition).
\fIdevice\fP is the special file corresponding to the device (e.g.
\fI/dev/sdXX\fP).
-\fIsectors\fP is optionally given for specifing the filesystem size.
+\fIsectors\fP is optionally given for specifying the filesystem size.
.PP
The exit code returned by
.B mkfs.f2fs
diff --git a/tools/f2fs_io_parse.c b/tools/f2fs_io_parse.c
index d146ead..47f1194 100644
--- a/tools/f2fs_io_parse.c
+++ b/tools/f2fs_io_parse.c
@@ -271,7 +271,7 @@
int i;
setlocale(LC_ALL, "");
- printf("\n===== Data R/W in 4KB accoring to File types =====\n");
+ printf("\n===== Data R/W in 4KB according to File types =====\n");
for (i = 0; i < __NR_FILES; i++)
printf(" %17s |", file_type_string[i]);
printf("\n");
diff --git a/tools/f2fscrypt.8 b/tools/f2fscrypt.8
index a60adc8..5e2258a 100644
--- a/tools/f2fscrypt.8
+++ b/tools/f2fscrypt.8
@@ -40,7 +40,7 @@
The target directory must be empty.
.SH EXAMPLE
.nf
-Formats a f2fs filesytem that supports encrypt.
+Formats a f2fs filesystem that supports encrypt.
.ft R
# mkfs.f2fs -O encrypt /dev/sdxx