projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252ac86
)
[PATCH] fs/hugetlbfs/inode.c: make a function static
author
Adrian Bunk
<bunk@stusta.de>
Wed, 9 Nov 2005 05:39:48 +0000
(21:39 -0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/hugetlbfs/inode.c
b/fs/hugetlbfs/inode.c
index e026c807e6b376fe57deb2dc2050d1d58d7c917a..64983ab55586856ae06a93393d1ea38c907853e9 100644
(file)
--- 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;