public inbox for linux-kernel@vger.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

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

On Mon, Nov 07, 2005 at 10:19:03PM +0100, Adrian Bunk wrote:
> This patch makes a needlessly global function static.
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Acked-by: William Irwin <wli@holomorphy.com>

If it clashes with Adam Litke's patches, please rediff and send after.


-- wli

^ 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-07 21:19 [2.6 patch] fs/hugetlbfs/inode.c: make a function static Adrian Bunk
2005-11-07 23:25 ` William Lee Irwin III
  -- strict thread matches above, loose matches on Subject: below --
2005-11-01 13:35 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox