Add xvattr support
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 2 Mar 2011 00:24:39 +0000 (16:24 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 2 Mar 2011 19:43:50 +0000 (11:43 -0800)
commit321a498b95f4a43a5553f53b435497f89fefc599
treef28db9ac5015818545ac500f80719b99a9e192c7
parent9623f736d958b4a28613177e03095dbdde0cc4af
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.
cmd/zvol_id/Makefile.in
include/linux/Makefile.in
include/sys/Makefile.am
include/sys/Makefile.in
include/sys/xvattr.h [new file with mode: 0644]
include/sys/zfs_acl.h
include/sys/zfs_vnops.h