Browse Source

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

This patch makes a needlessly global function static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 19 years ago
parent
commit
8d3d81cf02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/hugetlbfs/inode.c

+ 1 - 1
fs/hugetlbfs/inode.c

@@ -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;