f2fs-tools: fix a few spelling errors in f2fs-tools

commit d322d47fa4
category: bugfix
issue: #I6VAS0
CVE: NA

Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------

typo fix.

Signed-off-by: Victor Westerhuis <victor@westerhu.is>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
This commit is contained in:
Victor Westerhuis 2020-11-17 08:44:55 -08:00 committed by dongsenhao
parent df7acfde0a
commit e67b93cdc9
5 changed files with 5 additions and 5 deletions

View File

@ -2482,7 +2482,7 @@ void rewrite_sit_area_bitmap(struct f2fs_sb_info *sbi)
se->valid_blocks = valid_blocks; se->valid_blocks = valid_blocks;
type = se->type; type = se->type;
if (type >= NO_CHECK_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); segno, valid_blocks);
type = 0; type = 0;
} }

View File

@ -48,7 +48,7 @@ is 0 on success and -1 on failure.
Specify the starting block address. Specify the starting block address.
.TP .TP
.BI \-l " number of blocks" .BI \-l " number of blocks"
Specifiy the number of blocks to move. Specify the number of blocks to move.
.TP .TP
.BI \-t " target block address" .BI \-t " target block address"
Specify the destination block address. Specify the destination block address.

View File

@ -98,7 +98,7 @@ mkfs.f2fs \- create an F2FS file system
is used to create a f2fs file system (usually in a disk partition). 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. \fIdevice\fP is the special file corresponding to the device (e.g.
\fI/dev/sdXX\fP). \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 .PP
The exit code returned by The exit code returned by
.B mkfs.f2fs .B mkfs.f2fs

View File

@ -271,7 +271,7 @@ static void __print_ftype()
int i; int i;
setlocale(LC_ALL, ""); 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++) for (i = 0; i < __NR_FILES; i++)
printf(" %17s |", file_type_string[i]); printf(" %17s |", file_type_string[i]);
printf("\n"); printf("\n");

View File

@ -40,7 +40,7 @@ identifier consisting of 16 hexadecimal characters.
The target directory must be empty. The target directory must be empty.
.SH EXAMPLE .SH EXAMPLE
.nf .nf
Formats a f2fs filesytem that supports encrypt. Formats a f2fs filesystem that supports encrypt.
.ft R .ft R
# mkfs.f2fs -O encrypt /dev/sdxx # mkfs.f2fs -O encrypt /dev/sdxx