summaryrefslogtreecommitdiffstats
path: root/fs/hugetlbfs
diff options
context:
space:
mode:
authorAdrian Bunk2005-11-09 06:39:48 +0100
committerLinus Torvalds2005-11-09 16:56:41 +0100
commit8d3d81cf023f34fa42955ce0a6e77e7c340a9d9d (patch)
tree72070444e3046dc90cf26d532040c15b2dd6de5c /fs/hugetlbfs
parent[PATCH] drivers/message/fusion/mptbase.c: make code static (diff)
downloadkernel-qcow2-linux-8d3d81cf023f34fa42955ce0a6e77e7c340a9d9d.tar.gz
kernel-qcow2-linux-8d3d81cf023f34fa42955ce0a6e77e7c340a9d9d.tar.xz
kernel-qcow2-linux-8d3d81cf023f34fa42955ce0a6e77e7c340a9d9d.zip
[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>
Diffstat (limited to 'fs/hugetlbfs')
-rw-r--r--fs/hugetlbfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index e026c807e6b3..64983ab55586 100644
--- a/fs/hugetlbfs/inode.c
+++ b/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()
*/
-unsigned long
+static unsigned long
huge_pages_needed(struct address_space *mapping, struct vm_area_struct *vma)
{
int i;