From: Markus Pargmann Date: Mon, 17 Aug 2015 06:20:03 +0000 (+0200) Subject: nbd: Remove 'harderror' and propagate error properly X-Git-Tag: omap-for-v4.3/fixes-rc1~113^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=193918307f4e66eb6a811f30795991c6f7680b34;p=pandora-kernel.git 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 Acked-by: Pavel Machek Signed-off-by: Jens Axboe --- Reading git-diff-tree failed