commit | 193918307f4e66eb6a811f30795991c6f7680b34 | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Mon Aug 17 08:20:03 2015 +0200 |
committer | Jens Axboe <axboe@fb.com> | Mon Aug 17 08:22:52 2015 -0600 |
tree | 8b770dd24764fcb54f9cf0a7eea1d7bad0d63b83 | |
parent | 260bbce403e2ac601b422fd926f48b9924051f92 [diff] |
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>