]> Git Repo - qemu.git/commit
file-posix: Use error API properly
authorFam Zheng <[email protected]>
Thu, 1 Nov 2018 06:29:09 +0000 (14:29 +0800)
committerKevin Wolf <[email protected]>
Mon, 12 Nov 2018 16:46:57 +0000 (17:46 +0100)
commitdb0754df88e3ca4797539c1edbde596d871b64b6
treebf0e1caabb7dd1c2e7f2be3c2aaf81d272afc83a
parent5704c36d25ee84e7129722cb0db53df9faefe943
file-posix: Use error API properly

Use error_report for situations that affect user operation (i.e.  we're
actually returning error), and warn_report/warn_report_err when some
less critical error happened but the user operation can still carry on.

For raw_normalize_devicepath, add Error parameter to propagate to
its callers.

Suggested-by: Markus Armbruster <[email protected]>
Signed-off-by: Fam Zheng <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/file-posix.c
This page took 0.02514 seconds and 4 git commands to generate.