nbd-server: fix open_modern() to report errors
authorTuomas Räsänen <tuomasjjrasanen@opinsys.fi>
Sat, 12 Jan 2013 21:23:55 +0000 (23:23 +0200)
committerWouter Verhelst <w@uter.be>
Sat, 19 Jan 2013 10:11:40 +0000 (11:11 +0100)
commit4476b001cea5a169c9eff0f3409d4720ee8cd623
tree943d32ff4f88662b690138b590a41721b92d0b3f
parentb31023e170f68f84a62778c26fa694cbf1dee007
nbd-server: fix open_modern() to report errors

This commit is part of the refactoring work on internal error
management. The goal of the work is to separate error reporting from
error handling to make it possible to call functions from different code
paths with varying needs for error handling.

Another goal is to unify the error management throughout the code base.

Signed-off-by: Tuomas Räsänen <tuomasjjrasanen@tjjr.fi>
nbd-server.c