Merge branch 'for-3.10/drivers' of git://git.kernel.dk/linux-block
[profile/ivi/kernel-x86-ivi.git] / kernel / fork.c
index c509cc4..987b28a 100644 (file)
@@ -1304,6 +1304,10 @@ static struct task_struct *copy_process(unsigned long clone_flags,
        p->memcg_batch.do_batch = 0;
        p->memcg_batch.memcg = NULL;
 #endif
+#ifdef CONFIG_BCACHE
+       p->sequential_io        = 0;
+       p->sequential_io_avg    = 0;
+#endif
 
        /* Perform scheduler related setup. Assign this task to a CPU. */
        sched_fork(p);