Re: [PATCH v4 06/10] loop: Factor out configuring loop from status

2020-05-05 Thread Christoph Hellwig
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 Looks good, Reviewed-by: Christoph Hellwig

[PATCH v4 06/10] loop: Factor out configuring loop from status

2020-04-29 Thread Martijn Coenen
Factor out this code into a separate function, so it can be reused by other code more easily. Signed-off-by: Martijn Coenen --- drivers/block/loop.c | 117 +-- 1 file changed, 67 insertions(+), 50 deletions(-) diff --git a/drivers/block/loop.c b/drivers/b