On Thu, Jun 23, 2022 at 09:48:28AM +0200, Jan Kara wrote: > get_current_ioprio() operates only on current task. We will need the > same functionality for other tasks as well. Generalize > get_current_ioprio() for that and also move the bulk out of the header > file because it is large enough. We don't really need the general version exported. But if you prefer an inline wrapper over a tail call I guess this is fine, too: Reviewed-by: Christoph Hellwig <hch@xxxxxx>