Skip to content

Commit 1f13689

Browse files
Swarna PrabhuJaegeuk Kim
authored andcommitted
f2fs: Fix the typos in comments
This patch fixes minor typos in comments in f2fs. Signed-off-by: Swarna Prabhu <[email protected]> Reviewed-by: Luis Chamberlain <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent 3986868 commit 1f13689

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

fs/f2fs/f2fs.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ struct discard_cmd {
386386
struct rb_node rb_node; /* rb node located in rb-tree */
387387
struct discard_info di; /* discard info */
388388
struct list_head list; /* command list */
389-
struct completion wait; /* compleation */
389+
struct completion wait; /* completion */
390390
struct block_device *bdev; /* bdev */
391391
unsigned short ref; /* reference count */
392392
unsigned char state; /* state */
@@ -1427,7 +1427,7 @@ enum {
14271427

14281428
enum {
14291429
MEMORY_MODE_NORMAL, /* memory mode for normal devices */
1430-
MEMORY_MODE_LOW, /* memory mode for low memry devices */
1430+
MEMORY_MODE_LOW, /* memory mode for low memory devices */
14311431
};
14321432

14331433
enum errors_option {
@@ -1491,7 +1491,7 @@ enum compress_flag {
14911491
#define COMPRESS_DATA_RESERVED_SIZE 4
14921492
struct compress_data {
14931493
__le32 clen; /* compressed data size */
1494-
__le32 chksum; /* compressed data chksum */
1494+
__le32 chksum; /* compressed data checksum */
14951495
__le32 reserved[COMPRESS_DATA_RESERVED_SIZE]; /* reserved */
14961496
u8 cdata[]; /* compressed data */
14971497
};

fs/f2fs/node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/* control total # of nats */
3232
#define DEF_NAT_CACHE_THRESHOLD 100000
3333

34-
/* control total # of node writes used for roll-fowrad recovery */
34+
/* control total # of node writes used for roll-forward recovery */
3535
#define DEF_RF_NODE_BLOCKS 0
3636

3737
/* vector size for gang look-up from nat cache that consists of radix tree */

fs/f2fs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2569,7 +2569,7 @@ static int f2fs_remount(struct super_block *sb, int *flags, char *data)
25692569
!test_opt(sbi, MERGE_CHECKPOINT)) {
25702570
f2fs_stop_ckpt_thread(sbi);
25712571
} else {
2572-
/* Flush if the prevous checkpoint, if exists. */
2572+
/* Flush if the previous checkpoint, if exists. */
25732573
f2fs_flush_ckpt_thread(sbi);
25742574

25752575
err = f2fs_start_ckpt_thread(sbi);

0 commit comments

Comments
 (0)