aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-27 21:23:18 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-27 21:23:18 -0400
commitc2f90e9536887fb76fb6a2aa239a70fc49beda10 (patch)
treef87e6b29248c45a92ec6b4b8ffe675bb52e6104b /fs/proc/base.c
parentf3409f71a76838b1bc985f753eed787a3f17bc2c (diff)
parentc9272c4f9fbe2087beb3392f526dc5b19efaa56b (diff)
Merge ../linux-2.6
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 3d94906c7aa8..01ed610f9b87 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -2403,7 +2403,7 @@ static int proc_base_fill_cache(struct file *filp, void *dirent,
2403#ifdef CONFIG_TASK_IO_ACCOUNTING 2403#ifdef CONFIG_TASK_IO_ACCOUNTING
2404static int do_io_accounting(struct task_struct *task, char *buffer, int whole) 2404static int do_io_accounting(struct task_struct *task, char *buffer, int whole)
2405{ 2405{
2406 struct proc_io_accounting acct = task->ioac; 2406 struct task_io_accounting acct = task->ioac;
2407 unsigned long flags; 2407 unsigned long flags;
2408 2408
2409 if (whole && lock_task_sighand(task, &flags)) { 2409 if (whole && lock_task_sighand(task, &flags)) {
@@ -2423,10 +2423,10 @@ static int do_io_accounting(struct task_struct *task, char *buffer, int whole)
2423 "read_bytes: %llu\n" 2423 "read_bytes: %llu\n"
2424 "write_bytes: %llu\n" 2424 "write_bytes: %llu\n"
2425 "cancelled_write_bytes: %llu\n", 2425 "cancelled_write_bytes: %llu\n",
2426 acct.chr.rchar, acct.chr.wchar, 2426 acct.rchar, acct.wchar,
2427 acct.chr.syscr, acct.chr.syscw, 2427 acct.syscr, acct.syscw,
2428 acct.blk.read_bytes, acct.blk.write_bytes, 2428 acct.read_bytes, acct.write_bytes,
2429 acct.blk.cancelled_write_bytes); 2429 acct.cancelled_write_bytes);
2430} 2430}
2431 2431
2432static int proc_tid_io_accounting(struct task_struct *task, char *buffer) 2432static int proc_tid_io_accounting(struct task_struct *task, char *buffer)