[PATCH 8/9] nbd: Return error code directly

2015-04-02 Thread Markus Pargmann
By returning the error code directly, we can avoid the jump label error_out. Signed-off-by: Markus Pargmann Acked-by: Pavel Machek --- drivers/block/nbd.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index

[PATCH 8/9] nbd: Return error code directly

2015-04-02 Thread Markus Pargmann
By returning the error code directly, we can avoid the jump label error_out. Signed-off-by: Markus Pargmann m...@pengutronix.de Acked-by: Pavel Machek pa...@ucw.cz --- drivers/block/nbd.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/block/nbd.c

[PATCH 8/9] nbd: Return error code directly

2015-02-12 Thread Markus Pargmann
By returning the error code directly, we can avoid the jump label error_out. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 3a3e0057e991..f2c1973c486a 100644 ---

[PATCH 8/9] nbd: Return error code directly

2015-02-12 Thread Markus Pargmann
By returning the error code directly, we can avoid the jump label error_out. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/block/nbd.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index