diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 8c859eef8e6a..086e172d0d3d 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <linux/syscalls.h> | 36 | #include <linux/syscalls.h> |
37 | #include <linux/jiffies.h> | 37 | #include <linux/jiffies.h> |
38 | #include <linux/futex.h> | 38 | #include <linux/futex.h> |
39 | #include <linux/task_io_accounting_ops.h> | ||
39 | #include <linux/rcupdate.h> | 40 | #include <linux/rcupdate.h> |
40 | #include <linux/ptrace.h> | 41 | #include <linux/ptrace.h> |
41 | #include <linux/mount.h> | 42 | #include <linux/mount.h> |
@@ -1055,6 +1056,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1055 | p->wchar = 0; /* I/O counter: bytes written */ | 1056 | p->wchar = 0; /* I/O counter: bytes written */ |
1056 | p->syscr = 0; /* I/O counter: read syscalls */ | 1057 | p->syscr = 0; /* I/O counter: read syscalls */ |
1057 | p->syscw = 0; /* I/O counter: write syscalls */ | 1058 | p->syscw = 0; /* I/O counter: write syscalls */ |
1059 | task_io_accounting_init(p); | ||
1058 | acct_clear_integrals(p); | 1060 | acct_clear_integrals(p); |
1059 | 1061 | ||
1060 | p->it_virt_expires = cputime_zero; | 1062 | p->it_virt_expires = cputime_zero; |