aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 5bcfc739bb7c..2753449f2038 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -887,7 +887,7 @@ static int copy_io(unsigned long clone_flags, struct task_struct *tsk)
887 return -ENOMEM; 887 return -ENOMEM;
888 888
889 new_ioc->ioprio = ioc->ioprio; 889 new_ioc->ioprio = ioc->ioprio;
890 put_io_context(new_ioc); 890 put_io_context(new_ioc, NULL);
891 } 891 }
892#endif 892#endif
893 return 0; 893 return 0;