Add Linux Compat Infrastructure

Lay the initial ground work for a include/linux/ compatibility
directory.  This was less critical in the past because the bulk
of the ZFS code consumes the Solaris API via the SPL.  This API
was stable and the bulk Linux API differences were handled in
the SPL.

However, with the addition of a full Posix layer written directly
against the Linux APIs we are going to need more compatibility
code.  It makes sense that all this code should be cleanly located
in one place.  Subsequent patches should move the existing zvol
and vdev_disk compatibility code in to this directory.
This commit is contained in:
Brian Behlendorf
2011-01-18 11:42:25 -08:00
parent ab892c5f0a
commit 8299a1f41e
8 changed files with 625 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
SUBDIRS = sys
SUBDIRS = linux sys
COMMON_H = \
$(top_srcdir)/include/zfs_comutil.h \