Re: [PATCH] block: restore the old set_task_ioprio() behaviour wrt PF_EXITING

Christoph Hellwig
2022-03-29T06:55:42Z

> 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.