[Cluster-devel] gfs2 on-disk headers in user space

Andreas Grünbacher andreas.gruenbacher at gmail.com
Fri Sep 11 11:40:43 UTC 2015


2015-09-11 13:28 GMT+02:00 Andrew Price <anprice at redhat.com>:
> That makes sense to me. I assume we would remove the #include
> <linux/types.h> from gfs2_ondisk.h and replace it with our own user space
> types header. I'm worried about clashes using the kernel type names though,
> so we might need to process the header somehow to change them.

We could substitute the __beX types with uintX_t on import; also we
could warn if the system header exists but in a different version than
what's "cached" in gfs2-utils.

Andreas




More information about the Cluster-devel mailing list