xen/hypfs: pass real failure reason up from hypfs_get_entry()
authorJuergen Gross <jgross@suse.com>
Fri, 4 Dec 2020 07:30:17 +0000 (08:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Dec 2020 07:30:17 +0000 (08:30 +0100)
commitf1b920bb06c6fb3bdad8a483fb6ecf5c76069799
tree94f79996782f2dd41f02676896a81b5a026f051a
parentd29033719b8246d7bbef9b0fff2b6a168b7d1b56
xen/hypfs: pass real failure reason up from hypfs_get_entry()

Instead of handling all errors from hypfs_get_entry() as ENOENT pass
up the real error value via ERR_PTR().

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/hypfs.c