diff options
-rw-r--r-- | fs/f2fs/data.c | 2 | ||||
-rw-r--r-- | fs/f2fs/segment.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 72a1b30f720a..3c31ec7d633d 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c | |||
@@ -133,7 +133,7 @@ void update_extent_cache(block_t blk_addr, struct dnode_of_data *dn) | |||
133 | goto end_update; | 133 | goto end_update; |
134 | } | 134 | } |
135 | 135 | ||
136 | /* Frone merge */ | 136 | /* Front merge */ |
137 | if (fofs == start_fofs - 1 && blk_addr == start_blkaddr - 1) { | 137 | if (fofs == start_fofs - 1 && blk_addr == start_blkaddr - 1) { |
138 | fi->ext.fofs--; | 138 | fi->ext.fofs--; |
139 | fi->ext.blk_addr--; | 139 | fi->ext.blk_addr--; |
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index 994bb7bd7b70..26fc0540f144 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h | |||
@@ -12,7 +12,7 @@ | |||
12 | #define NULL_SEGNO ((unsigned int)(~0)) | 12 | #define NULL_SEGNO ((unsigned int)(~0)) |
13 | #define NULL_SECNO ((unsigned int)(~0)) | 13 | #define NULL_SECNO ((unsigned int)(~0)) |
14 | 14 | ||
15 | /* V: Logical segment # in volume, R: Relative segment # in main area */ | 15 | /* L: Logical segment # in volume, R: Relative segment # in main area */ |
16 | #define GET_L2R_SEGNO(free_i, segno) (segno - free_i->start_segno) | 16 | #define GET_L2R_SEGNO(free_i, segno) (segno - free_i->start_segno) |
17 | #define GET_R2L_SEGNO(free_i, segno) (segno + free_i->start_segno) | 17 | #define GET_R2L_SEGNO(free_i, segno) (segno + free_i->start_segno) |
18 | 18 | ||