mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-26 19:51:32 +00:00
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:
parent
df7acfde0a
commit
e67b93cdc9
@ -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;
|
||||
}
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user