diff options
author | Brian Behlendorf <[email protected]> | 2011-01-12 11:22:34 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-01-27 16:06:04 -0800 |
commit | d700637207b7e3870badcdb8389646a865835627 (patch) | |
tree | c251fddacce61acf8d5a4ae48713ed8fef46fde6 /include | |
parent | 647fa73cf33930f36259d00fd86c52b8e8113c30 (diff) |
Minimal VFS additions
This patch simply removes the place holder vfs_t type and includes
some generic Linux VFS headers. It also makes some minor fid_t
additions for compatibility.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/vfs.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/sys/vfs.h b/include/sys/vfs.h index b18c90928..cc6c3b693 100644 --- a/include/sys/vfs.h +++ b/include/sys/vfs.h @@ -25,11 +25,14 @@ #ifndef _SPL_ZFS_H #define _SPL_ZFS_H -typedef struct vfs { - int foo; -} vfs_t; +#include <linux/mount.h> +#include <linux/fs.h> +#include <linux/dcache.h> +#include <linux/statfs.h> +#include <linux/xattr.h> +#include <linux/security.h> -#define MAXFIDSZ 64 +#define MAXFIDSZ 64 typedef struct fid { union { @@ -41,4 +44,7 @@ typedef struct fid { } un; } fid_t; +#define fid_len un._fid.len +#define fid_data un._fid.data + #endif /* SPL_ZFS_H */ |