Re: [dm-devel] [PATCH v4 5/6] loop: add error handling support for add_disk()

2021-09-27 Thread Jens Axboe
On 9/27/21 3:59 PM, Luis Chamberlain wrote: > We never checked for errors on add_disk() as this function > returned void. Now that this is fixed, use the shiny new > error handling. Applied, thanks. -- Jens Axboe -- dm-devel mailing list dm-devel@redhat.com

[dm-devel] [PATCH v4 5/6] loop: add error handling support for add_disk()

2021-09-27 Thread Luis Chamberlain
We never checked for errors on add_disk() as this function returned void. Now that this is fixed, use the shiny new error handling. Reviewed-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Signed-off-by: Luis Chamberlain --- drivers/block/loop.c | 8 +++- 1 file changed, 7