aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/move_extent.c
diff options
context:
space:
mode:
authorAkira Fujita <a-fujita@rs.jp.nec.com>2009-09-05 23:12:41 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-09-05 23:12:41 -0400
commit44fc48f7048ab9657b524938a832fec4e0acea98 (patch)
tree9aca224ca77c27a5656077bd8c03d0c94f3426af /fs/ext4/move_extent.c
parent8d6669133d8cdbb7cbe0e1f0f3744e7802a84afe (diff)
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>
Diffstat (limited to 'fs/ext4/move_extent.c')
-rw-r--r--fs/ext4/move_extent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c
index c8c66b167cd7..4c4491cef357 100644
--- a/fs/ext4/move_extent.c
+++ b/fs/ext4/move_extent.c
@@ -740,7 +740,7 @@ out:
740 * on success, or a negative error value on failure. 740 * on success, or a negative error value on failure.
741 */ 741 */
742static int 742static int
743move_extent_par_page(struct file *o_filp, struct inode *donor_inode, 743move_extent_per_page(struct file *o_filp, struct inode *donor_inode,
744 pgoff_t orig_page_offset, int data_offset_in_page, 744 pgoff_t orig_page_offset, int data_offset_in_page,
745 int block_len_in_page, int uninit) 745 int block_len_in_page, int uninit)
746{ 746{
@@ -1267,7 +1267,7 @@ ext4_move_extents(struct file *o_filp, struct file *d_filp,
1267 while (orig_page_offset <= seq_end_page) { 1267 while (orig_page_offset <= seq_end_page) {
1268 1268
1269 /* Swap original branches with new branches */ 1269 /* Swap original branches with new branches */
1270 ret = move_extent_par_page(o_filp, donor_inode, 1270 ret = move_extent_per_page(o_filp, donor_inode,
1271 orig_page_offset, 1271 orig_page_offset,
1272 data_offset_in_page, 1272 data_offset_in_page,
1273 block_len_in_page, uninit); 1273 block_len_in_page, uninit);