On Wed, Apr 29, 2020 at 04:03:37PM +0200, Martijn Coenen wrote: > Factor out this code into a separate function, so it can be reused by > other code more easily. > > Signed-off-by: Martijn Coenen <maco@xxxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>