Re: [PATCH v3 5/9] loop: Remove figure_loop_size()

From: Christoph Hellwig
Date: Mon Apr 27 2020 - 10:56:41 EST


On Mon, Apr 27, 2020 at 09:42:18AM +0200, Martijn Coenen wrote:
> This function was now only used by loop_set_capacity(), and updating the
> offset and sizelimit is no longer necessary in that case. Just open code
> the remaining code in the caller instead.

Removing the now unused size update logic better fits into the previous
patch I think. Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>