[-mm patch] make proc_pid_io_accounting() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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"

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux