From e67b93cdc9e23444e865ea92805512bf45462fe6 Mon Sep 17 00:00:00 2001 From: Victor Westerhuis Date: Tue, 17 Nov 2020 08:44:55 -0800 Subject: [PATCH] f2fs-tools: fix a few spelling errors in f2fs-tools commit d322d47fa4a395ee7dac0afc5047cf6401991e7d category: bugfix issue: #I6VAS0 CVE: NA Signed-off-by: DongSenhao --------------------------------------- typo fix. Signed-off-by: Victor Westerhuis Signed-off-by: Jaegeuk Kim Signed-off-by: dongsenhao --- fsck/mount.c | 2 +- man/defrag.f2fs.8 | 2 +- man/mkfs.f2fs.8 | 2 +- tools/f2fs_io_parse.c | 2 +- tools/f2fscrypt.8 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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 @@ void rewrite_sit_area_bitmap(struct f2fs_sb_info *sbi) 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 @@ is 0 on success and -1 on failure. 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 @@ mkfs.f2fs \- create an F2FS file system 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 @@ static void __print_ftype() 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 @@ identifier consisting of 16 hexadecimal characters. 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