[PATCH] fs/hugetlbfs/inode.c: make a function static
authorAdrian Bunk <bunk@stusta.de>
Wed, 9 Nov 2005 05:39:48 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:41 +0000 (07:56 -0800)
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>
fs/hugetlbfs/inode.c

index e026c807e6b376fe57deb2dc2050d1d58d7c917a..64983ab55586856ae06a93393d1ea38c907853e9 100644 (file)
@@ -63,7 +63,7 @@ static void huge_pagevec_release(struct pagevec *pvec)
  *
  * 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)
 {
        int i;