Skip to content

Commit

Permalink
ext4: Fix small typo for move_extent_per_page()
Browse files Browse the repository at this point in the history
This function means moving extents every page, so change its name from
move_exgtent_par_page().

Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.co.jp>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
  • Loading branch information
Akira Fujita authored and Theodore Ts'o committed Sep 6, 2009
1 parent 8d66691 commit 44fc48f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/ext4/move_extent.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ mext_replace_branches(handle_t *handle, struct inode *orig_inode,
* on success, or a negative error value on failure.
*/
static int
move_extent_par_page(struct file *o_filp, struct inode *donor_inode,
move_extent_per_page(struct file *o_filp, struct inode *donor_inode,
pgoff_t orig_page_offset, int data_offset_in_page,
int block_len_in_page, int uninit)
{
Expand Down Expand Up @@ -1267,7 +1267,7 @@ ext4_move_extents(struct file *o_filp, struct file *d_filp,
while (orig_page_offset <= seq_end_page) {

/* Swap original branches with new branches */
ret = move_extent_par_page(o_filp, donor_inode,
ret = move_extent_per_page(o_filp, donor_inode,
orig_page_offset,
data_offset_in_page,
block_len_in_page, uninit);
Expand Down

0 comments on commit 44fc48f

Please sign in to comment.