diff options
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/extents.c | 4 | ||||
-rw-r--r-- | fs/ext4/inode.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index ad39627c1fbc..142e3443476f 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -1263,7 +1263,7 @@ static int ext4_ext_search_left(struct inode *inode, | |||
1263 | /* | 1263 | /* |
1264 | * search the closest allocated block to the right for *logical | 1264 | * search the closest allocated block to the right for *logical |
1265 | * and returns it at @logical + it's physical address at @phys | 1265 | * and returns it at @logical + it's physical address at @phys |
1266 | * if *logical is the smallest allocated block, the function | 1266 | * if *logical is the largest allocated block, the function |
1267 | * returns 0 at @phys | 1267 | * returns 0 at @phys |
1268 | * return value contains 0 (success) or error code | 1268 | * return value contains 0 (success) or error code |
1269 | */ | 1269 | */ |
@@ -2168,7 +2168,7 @@ int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, | |||
2168 | * need to account for leaf block credit | 2168 | * need to account for leaf block credit |
2169 | * | 2169 | * |
2170 | * bitmaps and block group descriptor blocks | 2170 | * bitmaps and block group descriptor blocks |
2171 | * and other metadat blocks still need to be | 2171 | * and other metadata blocks still need to be |
2172 | * accounted. | 2172 | * accounted. |
2173 | */ | 2173 | */ |
2174 | /* 1 bitmap, 1 block group descriptor */ | 2174 | /* 1 bitmap, 1 block group descriptor */ |
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 1380cd29c312..4863238c3754 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -458,7 +458,7 @@ static void set_buffers_da_mapped(struct inode *inode, | |||
458 | * the buffer head is mapped. | 458 | * the buffer head is mapped. |
459 | * | 459 | * |
460 | * It returns 0 if plain look up failed (blocks have not been allocated), in | 460 | * It returns 0 if plain look up failed (blocks have not been allocated), in |
461 | * that casem, buffer head is unmapped | 461 | * that case, buffer head is unmapped |
462 | * | 462 | * |
463 | * It returns the error in case of allocation failure. | 463 | * It returns the error in case of allocation failure. |
464 | */ | 464 | */ |
@@ -497,7 +497,7 @@ int ext4_map_blocks(handle_t *handle, struct inode *inode, | |||
497 | * Returns if the blocks have already allocated | 497 | * Returns if the blocks have already allocated |
498 | * | 498 | * |
499 | * Note that if blocks have been preallocated | 499 | * Note that if blocks have been preallocated |
500 | * ext4_ext_get_block() returns th create = 0 | 500 | * ext4_ext_get_block() returns the create = 0 |
501 | * with buffer head unmapped. | 501 | * with buffer head unmapped. |
502 | */ | 502 | */ |
503 | if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) | 503 | if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) |