hypfs: avoid effectively open-coding xzalloc_array()
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Apr 2021 07:25:42 +0000 (09:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Apr 2021 07:25:42 +0000 (09:25 +0200)
commitca68c70d30d68a671a45789a85f8ace6d8360334
tree1e26eb47d20dcb40749d1576b550d184b87ef877
parent463e8e6cf764beda5f58117a422dcb3a06fed405
hypfs: avoid effectively open-coding xzalloc_array()

There is a difference in generated code: xzalloc_bytes() forces
SMP_CACHE_BYTES alignment. I think we not only don't need this here, but
actually don't want it.

To avoid the need to add a cast, do away with the only forward-declared
struct hypfs_dyndata.

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