]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r355460: libbe: fix build against sysutils/openzfs, part 1
authorKyle Evans <kevans@FreeBSD.org>
Thu, 12 Dec 2019 18:53:45 +0000 (18:53 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 12 Dec 2019 18:53:45 +0000 (18:53 +0000)
commit90681a6fdc6fa80b64e14f8f8891e65d82fcd512
tree0391fa7588d48ffaf3d337aaa7ba1b55340c45f1
parentb0857bd3eca7656962193fc093bb0f6537e107b1
MFC r355460: libbe: fix build against sysutils/openzfs, part 1

This is the half of the changes required that work as-is with both in-tree
ZFS and the new hotness, sysutils/openzfs.  Highlights are less dependency
on header pollution (from somewhere) and using 'mnttab' instead of
'extmnttab'.   In the in-tree ZFS, the latter is a #define for the former,
but in the port extmnttab is actually a distinct struct that's a super-set
of mnttab.  We really want mnttab here anyways, so just use it.
lib/libbe/be.c
lib/libbe/be_access.c
lib/libbe/be_info.c