[2.6 patch] mm/page-writeback.c: make a function static

From: Adrian Bunk
Date: Wed Oct 24 2007 - 12:30:55 EST


task_dirty_limit() can become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
ea2286c1631811eb7ea813c2b2785c3a1bfb0463
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 838a5e3..f13f7fc 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -219,7 +219,7 @@ static inline void task_dirties_fraction(struct task_struct *tsk,
*
* dirty -= (dirty/8) * p_{t}
*/
-void task_dirty_limit(struct task_struct *tsk, long *pdirty)
+static void task_dirty_limit(struct task_struct *tsk, long *pdirty)
{
long numerator, denominator;
long dirty = *pdirty;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/