[-mm patch] make proc_pid_io_accounting() static

Adrian Bunk
2006-11-24T01:46:42Z

On Thu, Nov 23, 2006 at 02:17:03AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.19-rc5-mm2:
>...
> +io-accounting-report-in-procfs.patch
>...
> per-task IO accounting
>...

proc_pid_io_accounting() can become static.

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

--- linux-2.6.19-rc6-mm1/fs/proc/base.c.old 2006-11-24 01:23:55.000000000 +0100
+++ linux-2.6.19-rc6-mm1/fs/proc/base.c 2006-11-24 01:24:06.000000000 +0100
@@ -1805,7 +1805,7 @@
}

#ifdef CONFIG_TASK_IO_ACCOUNTING
-int proc_pid_io_accounting(struct task_struct *task, char *buffer)
+static int proc_pid_io_accounting(struct task_struct *task, char *buffer)
{
return sprintf(buffer,
"read_bytes: %llu\n"