> task_lock(task); > if (task->flags & PF_EXITING) { > - err = -ESRCH; > kmem_cache_free(iocontext_cachep, ioc); > goto out; Please add a commnt here why we are not returning an error, otherwise this is just getting "fixed" over and over again.
> task_lock(task); > if (task->flags & PF_EXITING) { > - err = -ESRCH; > kmem_cache_free(iocontext_cachep, ioc); > goto out; Please add a commnt here why we are not returning an error, otherwise this is just getting "fixed" over and over again.