summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorLiu Bo <liubo2009@cn.fujitsu.com>2012-02-21 10:57:20 +0800
committerJiri Kosina <jkosina@suse.cz>2012-02-23 11:52:19 +0100
commit73c1e20430cbb96947fe3b835c6a3c13805eafd8 (patch)
tree498c2e56458daa27d9663cfe820d41862e25e3f6 /mm/truncate.c
parent202e0116b4700a6d51dc251bd1dbd0a8309806da (diff)
downloadlwn-73c1e20430cbb96947fe3b835c6a3c13805eafd8.tar.gz
lwn-73c1e20430cbb96947fe3b835c6a3c13805eafd8.zip
mm: fix comment typo of truncate_inode_pages_range
The typo of API truncate_inode_pages_range is not updated. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm/truncate.c')
-rw-r--r--mm/truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/truncate.c b/mm/truncate.c
index 632b15e29f74..a188058582e0 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