2012-02-21 02:59:55

by Liu Bo

[permalink] [raw]
Subject: [PATCH] MM: fix a typo of truncate_inode_pages_range

The typo of API truncate_inode_pages_range is not updated.

Signed-off-by: Liu Bo <[email protected]>
---
mm/truncate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/truncate.c b/mm/truncate.c
index 632b15e..a188058 100644
--- a/mm/truncate.c
+++ b/mm/truncate.c
@@ -184,7 +184,7 @@ int invalidate_inode_page(struct page *page)
}

/**
- * truncate_inode_pages - truncate range of pages specified by start & end byte offsets
+ * truncate_inode_pages_range - truncate range of pages specified by start & end byte offsets
* @mapping: mapping to truncate
* @lstart: offset from which to truncate
* @lend: offset to which to truncate
--
1.6.5.2


2012-02-22 12:37:32

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH] MM: fix a typo of truncate_inode_pages_range

On Tue 21-02-12 10:57:20, Liu Bo wrote:
> The typo of API truncate_inode_pages_range is not updated.
It's better to add more specific recipients of patches. It's too easy to
overlook a patch in 400+ daily messages on LKML. In this particular case
using trivial tree for merging would be appropriate. Added CCs.

Honza
>
> Signed-off-by: Liu Bo <[email protected]>
> ---
> mm/truncate.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/mm/truncate.c b/mm/truncate.c
> index 632b15e..a188058 100644
> --- a/mm/truncate.c
> +++ b/mm/truncate.c
> @@ -184,7 +184,7 @@ int invalidate_inode_page(struct page *page)
> }
>
> /**
> - * truncate_inode_pages - truncate range of pages specified by start & end byte offsets
> + * truncate_inode_pages_range - truncate range of pages specified by start & end byte offsets
> * @mapping: mapping to truncate
> * @lstart: offset from which to truncate
> * @lend: offset to which to truncate
> --
> 1.6.5.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Jan Kara <[email protected]>
SUSE Labs, CR