All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] fs/hugetlbfs/inode.c: make a function static
@ 2005-11-01 13:35 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-11-01 13:35 UTC (permalink / raw)
  To: wli; +Cc: linux-kernel

This patch makes a needlessly global function static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.14-rc5-mm1-full/fs/hugetlbfs/inode.c.old	2005-10-31 17:32:34.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/fs/hugetlbfs/inode.c	2005-10-31 17:32:58.000000000 +0100
@@ -63,7 +63,7 @@
  *
  * 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;


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [2.6 patch] fs/hugetlbfs/inode.c: make a function static
@ 2005-11-07 21:19 Adrian Bunk
  2005-11-07 23:25 ` William Lee Irwin III
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2005-11-07 21:19 UTC (permalink / raw)
  To: Andrew Morton; +Cc: wli, linux-kernel

This patch makes a needlessly global function static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 1 Nov 2005

--- linux-2.6.14-rc5-mm1-full/fs/hugetlbfs/inode.c.old	2005-10-31 17:32:34.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/fs/hugetlbfs/inode.c	2005-10-31 17:32:58.000000000 +0100
@@ -63,7 +63,7 @@
  *
  * 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;


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-07 23:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 13:35 [2.6 patch] fs/hugetlbfs/inode.c: make a function static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-11-07 21:19 Adrian Bunk
2005-11-07 23:25 ` William Lee Irwin III

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.