From: Brian Behlendorf Date: Wed, 12 Jan 2011 19:22:34 +0000 (-0800) Subject: Minimal VFS additions X-Git-Tag: zfs-0.8.0-rc1~152^2~506 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d700637207b7e3870badcdb8389646a865835627;p=zfs 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. --- 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 +#include +#include +#include +#include +#include -#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 */