> if (task->io_context) { > kmem_cache_free(iocontext_cachep, ioc); > - ioc = task->io_context; > } else { > task->io_context = ioc; > } Please also drop the now superflous braces.
> if (task->io_context) { > kmem_cache_free(iocontext_cachep, ioc); > - ioc = task->io_context; > } else { > task->io_context = ioc; > } Please also drop the now superflous braces.