Commit f61eaf9f authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

mm/page-writeback.c: make a function static

task_dirty_limit() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1e883281
...@@ -219,7 +219,7 @@ static inline void task_dirties_fraction(struct task_struct *tsk, ...@@ -219,7 +219,7 @@ static inline void task_dirties_fraction(struct task_struct *tsk,
* *
* dirty -= (dirty/8) * p_{t} * 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 numerator, denominator;
long dirty = *pdirty; long dirty = *pdirty;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment