From: Adrian Bunk <bunk@stusta.de>
To: wli@holomorphy.com
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] fs/hugetlbfs/inode.c: make 4 functions static
Date: Fri, 7 Jan 2005 02:29:00 +0100 [thread overview]
Message-ID: <20050107012900.GD14108@stusta.de> (raw)
The patch below makes four needlessly global functions static.
diffstta output:
fs/hugetlbfs/inode.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-mm2-full/fs/hugetlbfs/inode.c.old 2005-01-07 00:54:42.000000000 +0100
+++ linux-2.6.10-mm2-full/fs/hugetlbfs/inode.c 2005-01-07 00:55:32.000000000 +0100
@@ -168,7 +168,7 @@
return -EINVAL;
}
-void huge_pagevec_release(struct pagevec *pvec)
+static void huge_pagevec_release(struct pagevec *pvec)
{
int i;
@@ -178,7 +178,7 @@
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 @@
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 @@
/*
* 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;
}
next reply other threads:[~2005-01-07 1:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-07 1:29 Adrian Bunk [this message]
2005-01-07 1:32 ` [2.6 patch] fs/hugetlbfs/inode.c: make 4 functions static William Lee Irwin III
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050107012900.GD14108@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=wli@holomorphy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.