diff options
author | Brian Behlendorf <[email protected]> | 2011-03-01 16:24:39 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-03-02 11:43:50 -0800 |
commit | 321a498b95f4a43a5553f53b435497f89fefc599 (patch) | |
tree | f28db9ac5015818545ac500f80719b99a9e192c7 /include/sys/zfs_acl.h | |
parent | 9623f736d958b4a28613177e03095dbdde0cc4af (diff) |
Add xvattr support
With the removal of the minimal xvattr support from the spl this
support needs to be replaced in the zfs package. This is fairly
easily accomplished by directly adding portions of the sys/vnode.h
header from OpenSolaris. These xvattr additions have been placed
in the sys/xvattr.h header file and included as needed where simply
a sys/vnode.h was included before.
In additon to the xvattr types and helper macros two functions
were also included. The xva_init() and xva_getxoptattr() functions
were included as static inline functions in xvattr.h. They are
simple enough and it was simpler to place them here rather than
in their own .c file.
Diffstat (limited to 'include/sys/zfs_acl.h')
-rw-r--r-- | include/sys/zfs_acl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zfs_acl.h b/include/sys/zfs_acl.h index 6f7cef2ad..b6ed4390f 100644 --- a/include/sys/zfs_acl.h +++ b/include/sys/zfs_acl.h @@ -28,6 +28,7 @@ #ifdef _KERNEL #include <sys/isa_defs.h> #include <sys/types32.h> +#include <sys/xvattr.h> #endif #include <sys/acl.h> #include <sys/dmu.h> |