aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-01-10 17:25:37 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-10 17:25:37 -0800
commitdac8a2f13cb3cc97d32204d5dd9c959f6f3b51a7 (patch)
tree29233bf24a9eae28179564d0bd47acd2abc6e078 /fs
parent21553e72991b2e7d8ad6833f039eeac2f08d3807 (diff)
downloadhistory-dac8a2f13cb3cc97d32204d5dd9c959f6f3b51a7.tar.gz
[PATCH] fs/hugetlbfs/inode.c: make 4 functions static
The patch below makes four needlessly global functions 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')
-rw-r--r--fs/hugetlbfs/inode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 05175eced23910..03019e040d0b31 100644
--- a/fs/hugetlbfs/inode.c
+++ b/fs/hugetlbfs/inode.c
@@ -168,7 +168,7 @@ static int hugetlbfs_commit_write(struct file *file,
return -EINVAL;
}
-void huge_pagevec_release(struct pagevec *pvec)
+static void huge_pagevec_release(struct pagevec *pvec)
{
int i;
@@ -178,7 +178,7 @@ void huge_pagevec_release(struct pagevec *pvec)
pagevec_reinit(pvec);
}
-void truncate_huge_page(struct page *page)
+static void truncate_huge_page(struct page *page)
{
clear_page_dirty(page);
ClearPageUptodate(page);
@@ -186,7 +186,7 @@ void truncate_huge_page(struct page *page)
put_page(page);
}
-void truncate_hugepages(struct address_space *mapping, loff_t lstart)
+static void truncate_hugepages(struct address_space *mapping, loff_t lstart)
{
const pgoff_t start = lstart >> HPAGE_SHIFT;
struct pagevec pvec;
@@ -495,7 +495,7 @@ static int hugetlbfs_symlink(struct inode *dir,
/*
* For direct-IO reads into hugetlb pages
*/
-int hugetlbfs_set_page_dirty(struct page *page)
+static int hugetlbfs_set_page_dirty(struct page *page)
{
return 0;
}