diff options
author | Brian Behlendorf <[email protected]> | 2011-01-18 11:42:25 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-10 09:25:10 -0800 |
commit | 8299a1f41eb4761cd25ea821830295a6f32be581 (patch) | |
tree | af1b483413f6c689ec7f8d2b6fcd49012d3ab22c /include/sys/zfs_context.h | |
parent | ab892c5f0ad7c2ee291693cf61dfc9601a2472d0 (diff) |
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.
Diffstat (limited to 'include/sys/zfs_context.h')
-rw-r--r-- | include/sys/zfs_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index 0ebacbc64..a0165bb2f 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -57,6 +57,7 @@ #include <sys/zfs_debug.h> #include <sys/fm/fs/zfs.h> #include <sys/sunddi.h> +#include <linux/dcache_compat.h> #else /* _KERNEL */ |