Re: [PATCH 05/10] rnbd: add error handling support for add_disk()

2021-09-01 Thread Jinpu Wang
On Wed, Sep 1, 2021 at 11:01 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. > > Signed-off-by: Luis Chamberlain looks good to me. Acked-by: Jack Wang > --- > drivers/block/rnb

[PATCH 05/10] rnbd: add error handling support for add_disk()

2021-09-01 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. Signed-off-by: Luis Chamberlain --- drivers/block/rnbd/rnbd-clt.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/block/rn