提交 8d3d81cf 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[PATCH] fs/hugetlbfs/inode.c: make a function static

This patch makes a needlessly global function static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Acked-by: NWilliam Irwin <wli@holomorphy.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 252ac865
...@@ -63,7 +63,7 @@ static void huge_pagevec_release(struct pagevec *pvec) ...@@ -63,7 +63,7 @@ static void huge_pagevec_release(struct pagevec *pvec)
* *
* Result is in bytes to be compatible with is_hugepage_mem_enough() * Result is in bytes to be compatible with is_hugepage_mem_enough()
*/ */
unsigned long static unsigned long
huge_pages_needed(struct address_space *mapping, struct vm_area_struct *vma) huge_pages_needed(struct address_space *mapping, struct vm_area_struct *vma)
{ {
int i; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册