mirror_zfs/include/os/linux/spl/sys/Makefile.am
Matthew Macy da92d5cbb3 Add zfs_file_* interface, remove vnodes
Provide a common zfs_file_* interface which can be implemented on all 
platforms to perform normal file access from either the kernel module
or the libzpool library.

This allows all non-portable vnode_t usage in the common code to be 
replaced by the new portable zfs_file_t.  The associated vnode and
kobj compatibility functions, types, and macros have been removed
from the SPL.  Moving forward, vnodes should only be used in platform
specific code when provided by the native operating system.

Reviewed-by: Sean Eric Fagan <sef@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9556
2019-11-21 09:32:57 -08:00

65 lines
3.0 KiB
Makefile

KERNEL_H = \
$(top_srcdir)/include/os/linux/spl/sys/acl.h \
$(top_srcdir)/include/os/linux/spl/sys/atomic.h \
$(top_srcdir)/include/os/linux/spl/sys/byteorder.h \
$(top_srcdir)/include/os/linux/spl/sys/callb.h \
$(top_srcdir)/include/os/linux/spl/sys/callo.h \
$(top_srcdir)/include/os/linux/spl/sys/cmn_err.h \
$(top_srcdir)/include/os/linux/spl/sys/condvar.h \
$(top_srcdir)/include/os/linux/spl/sys/console.h \
$(top_srcdir)/include/os/linux/spl/sys/cred.h \
$(top_srcdir)/include/os/linux/spl/sys/ctype.h \
$(top_srcdir)/include/os/linux/spl/sys/debug.h \
$(top_srcdir)/include/os/linux/spl/sys/disp.h \
$(top_srcdir)/include/os/linux/spl/sys/dkio.h \
$(top_srcdir)/include/os/linux/spl/sys/errno.h \
$(top_srcdir)/include/os/linux/spl/sys/fcntl.h \
$(top_srcdir)/include/os/linux/spl/sys/file.h \
$(top_srcdir)/include/os/linux/spl/sys/inttypes.h \
$(top_srcdir)/include/os/linux/spl/sys/isa_defs.h \
$(top_srcdir)/include/os/linux/spl/sys/kmem_cache.h \
$(top_srcdir)/include/os/linux/spl/sys/kmem.h \
$(top_srcdir)/include/os/linux/spl/sys/kstat.h \
$(top_srcdir)/include/os/linux/spl/sys/list.h \
$(top_srcdir)/include/os/linux/spl/sys/mod_os.h \
$(top_srcdir)/include/os/linux/spl/sys/mutex.h \
$(top_srcdir)/include/os/linux/spl/sys/param.h \
$(top_srcdir)/include/os/linux/spl/sys/processor.h \
$(top_srcdir)/include/os/linux/spl/sys/proc.h \
$(top_srcdir)/include/os/linux/spl/sys/procfs_list.h \
$(top_srcdir)/include/os/linux/spl/sys/random.h \
$(top_srcdir)/include/os/linux/spl/sys/rwlock.h \
$(top_srcdir)/include/os/linux/spl/sys/shrinker.h \
$(top_srcdir)/include/os/linux/spl/sys/sid.h \
$(top_srcdir)/include/os/linux/spl/sys/signal.h \
$(top_srcdir)/include/os/linux/spl/sys/simd.h \
$(top_srcdir)/include/os/linux/spl/sys/stat.h \
$(top_srcdir)/include/os/linux/spl/sys/strings.h \
$(top_srcdir)/include/os/linux/spl/sys/sunddi.h \
$(top_srcdir)/include/os/linux/spl/sys/sysmacros.h \
$(top_srcdir)/include/os/linux/spl/sys/systeminfo.h \
$(top_srcdir)/include/os/linux/spl/sys/taskq.h \
$(top_srcdir)/include/os/linux/spl/sys/thread.h \
$(top_srcdir)/include/os/linux/spl/sys/time.h \
$(top_srcdir)/include/os/linux/spl/sys/timer.h \
$(top_srcdir)/include/os/linux/spl/sys/trace.h \
$(top_srcdir)/include/os/linux/spl/sys/trace_spl.h \
$(top_srcdir)/include/os/linux/spl/sys/trace_taskq.h \
$(top_srcdir)/include/os/linux/spl/sys/tsd.h \
$(top_srcdir)/include/os/linux/spl/sys/types32.h \
$(top_srcdir)/include/os/linux/spl/sys/types.h \
$(top_srcdir)/include/os/linux/spl/sys/uio.h \
$(top_srcdir)/include/os/linux/spl/sys/user.h \
$(top_srcdir)/include/os/linux/spl/sys/vfs.h \
$(top_srcdir)/include/os/linux/spl/sys/vmem.h \
$(top_srcdir)/include/os/linux/spl/sys/vmsystm.h \
$(top_srcdir)/include/os/linux/spl/sys/vnode.h \
$(top_srcdir)/include/os/linux/spl/sys/wait.h \
$(top_srcdir)/include/os/linux/spl/sys/zmod.h \
$(top_srcdir)/include/os/linux/spl/sys/zone.h
if CONFIG_KERNEL
kerneldir = @prefix@/src/zfs-$(VERSION)/include/spl/sys
kernel_HEADERS = $(KERNEL_H)
endif