Browse Source

ext4: Fix small typo for move_extent_per_page()

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>
Akira Fujita 15 years ago
parent
commit
44fc48f704
1 changed files with 2 additions and 2 deletions
  1. 2 2
      fs/ext4/move_extent.c

+ 2 - 2
fs/ext4/move_extent.c

@@ -740,7 +740,7 @@ out:
  * on success, or a negative error value on failure.
  * on success, or a negative error value on failure.
  */
  */
 static int
 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,
 		  pgoff_t orig_page_offset, int data_offset_in_page,
 		  int block_len_in_page, int uninit)
 		  int block_len_in_page, int uninit)
 {
 {
@@ -1267,7 +1267,7 @@ ext4_move_extents(struct file *o_filp, struct file *d_filp,
 		while (orig_page_offset <= seq_end_page) {
 		while (orig_page_offset <= seq_end_page) {
 
 
 			/* Swap original branches with new branches */
 			/* 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,
 						orig_page_offset,
 						data_offset_in_page,
 						data_offset_in_page,
 						block_len_in_page, uninit);
 						block_len_in_page, uninit);