On 12/11/23 08:55, Christoph Hellwig wrote:
On Mon, Dec 04, 2023 at 09:32:12PM -0800, Bart Van Assche wrote:Prepare for disabling I/O prioritization in certain cases.On it's own this looks pretty useless to be honest, an with just a single caller it can't really make future patches significantly simpler either.
This patch helps because a helper function can have multiple return statements. The alternative without helper function is using a less readable ternary conditional. Bart.