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/linux | |
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/linux')
-rw-r--r-- | include/linux/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/Makefile.in b/include/linux/Makefile.in index 532fd60be..e0ac172e9 100644 --- a/include/linux/Makefile.in +++ b/include/linux/Makefile.in @@ -287,7 +287,8 @@ COMMON_H = KERNEL_H = \ $(top_srcdir)/include/linux/dcache_compat.h \ $(top_srcdir)/include/linux/xattr_compat.h \ - $(top_srcdir)/include/linux/vfs_compat.h + $(top_srcdir)/include/linux/vfs_compat.h \ + $(top_srcdir)/include/linux/blkdev_compat.h USER_H = EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H) |