diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-08-17 08:20:03 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-17 16:22:52 +0200 |
commit | 193918307f4e66eb6a811f30795991c6f7680b34 (patch) | |
tree | 8b770dd24764fcb54f9cf0a7eea1d7bad0d63b83 /drivers/block/DAC960.c | |
parent | nbd: restructure sock_shutdown (diff) | |
download | linux-193918307f4e66eb6a811f30795991c6f7680b34.tar.xz linux-193918307f4e66eb6a811f30795991c6f7680b34.zip |
nbd: Remove 'harderror' and propagate error properly
Instead of a variable 'harderror' we can simply try to correctly
propagate errors to the userspace.
This patch removes the harderror variable and passes errors through
error pointers and nbd_do_it back to the userspace.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/DAC960.c')
0 files changed, 0 insertions, 0 deletions