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.
#ifndef _SPL_ZFS_H
#define _SPL_ZFS_H
#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>
typedef struct fid {
union {
typedef struct fid {
union {
+#define fid_len un._fid.len
+#define fid_data un._fid.data
+