On Mon, Mar 15, 2021 at 03:54:17PM +0100, Christian Brauner wrote: > Don't open-code the checks and instead move them into a clean little > helper we can call. This also reduces the risk that if we ever change > something we forget to change all locations. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>