Patchwork ext4: fix redirty_page_for_writepage() typo in comment

login
register
mail settings
Submitter Wu Fengguang
Date Nov. 11, 2010, 11:23 a.m.
Message ID <20101111112329.GA6923@localhost>
Download mbox | patch
Permalink /patch/70795/
State New
Headers show

Comments

Wu Fengguang - Nov. 11, 2010, 11:23 a.m.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
---

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jiri Kosina - Nov. 15, 2010, 1:15 p.m.
On Thu, 11 Nov 2010, Wu Fengguang wrote:

> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
> ---
> 
> diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
> index 1916164..b82fbd9 100644
> --- a/fs/ext4/inode.c
> +++ b/fs/ext4/inode.c
> @@ -3357,7 +3357,7 @@ int ext4_alloc_da_blocks(struct inode *inode)
>  	 * doing I/O at all.
>  	 *
>  	 * We could call write_cache_pages(), and then redirty all of
> -	 * the pages by calling redirty_page_for_writeback() but that
> +	 * the pages by calling redirty_page_for_writepage() but that
>  	 * would be ugly in the extreme.  So instead we would need to
>  	 * replicate parts of the code in the above functions,
>  	 * simplifying them becuase we wouldn't actually intend to

This fix doesn't seem to be present in linux-next as of today, so I have 
picked it up. Thanks,

Patch

diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 1916164..b82fbd9 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3357,7 +3357,7 @@  int ext4_alloc_da_blocks(struct inode *inode)
 	 * doing I/O at all.
 	 *
 	 * We could call write_cache_pages(), and then redirty all of
-	 * the pages by calling redirty_page_for_writeback() but that
+	 * the pages by calling redirty_page_for_writepage() but that
 	 * would be ugly in the extreme.  So instead we would need to
 	 * replicate parts of the code in the above functions,
 	 * simplifying them becuase we wouldn't actually intend to