diff options
author | Brian Behlendorf <[email protected]> | 2011-01-26 12:03:58 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-10 09:27:21 -0800 |
commit | 1efb473f8919c5f195e127136b79c6d3b1eb1c81 (patch) | |
tree | 69937c80a49233c6ef948d3abf5bc19f52beeaee /lib/libzpool | |
parent | 633e8030b3582f3579a457a803c1382fc81f56e5 (diff) |
Add Hooks for Linux File Operations
The Linux specific file operations have all been located in the
file zpl_file.c. These functions primarily rely on the reworked
zfs_* functions to do their job. They are also responsible for
converting the possible Solaris style error codes to negative
Linux errors.
This first zpl_* commit also includes a common zpl.h header with
minimal entries to register the Linux specific hooks. In also
adds all the new zpl_* file to the Makefile.in. This is not a
standalone commit, you required the following zpl_* commits.
Diffstat (limited to 'lib/libzpool')
-rw-r--r-- | lib/libzpool/Makefile.am | 4 | ||||
-rw-r--r-- | lib/libzpool/Makefile.in | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am index 450f4cca1..b15830ded 100644 --- a/lib/libzpool/Makefile.am +++ b/lib/libzpool/Makefile.am @@ -106,5 +106,9 @@ EXTRA_DIST = \ $(top_srcdir)/module/zfs/zfs_rlock.c \ $(top_srcdir)/module/zfs/zfs_vfsops.c \ $(top_srcdir)/module/zfs/zfs_vnops.c \ + $(top_srcdir)/module/zfs/zpl_file.c \ + $(top_srcdir)/module/zfs/zpl_inode.c \ + $(top_srcdir)/module/zfs/zpl_super.c \ + $(top_srcdir)/module/zfs/zpl_xattr.c \ $(top_srcdir)/module/zfs/zvol.c \ $(top_srcdir)/module/zpios/pios.c diff --git a/lib/libzpool/Makefile.in b/lib/libzpool/Makefile.in index 29d312f9d..344612d31 100644 --- a/lib/libzpool/Makefile.in +++ b/lib/libzpool/Makefile.in @@ -427,6 +427,10 @@ EXTRA_DIST = \ $(top_srcdir)/module/zfs/zfs_rlock.c \ $(top_srcdir)/module/zfs/zfs_vfsops.c \ $(top_srcdir)/module/zfs/zfs_vnops.c \ + $(top_srcdir)/module/zfs/zpl_file.c \ + $(top_srcdir)/module/zfs/zpl_inode.c \ + $(top_srcdir)/module/zfs/zpl_super.c \ + $(top_srcdir)/module/zfs/zpl_xattr.c \ $(top_srcdir)/module/zfs/zvol.c \ $(top_srcdir)/module/zpios/pios.c |