diff options
-rw-r--r-- | usr.bin/fstat/zfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/fstat/zfs.c b/usr.bin/fstat/zfs.c index fc23261..cc284fb 100644 --- a/usr.bin/fstat/zfs.c +++ b/usr.bin/fstat/zfs.c @@ -29,6 +29,7 @@ #include <sys/param.h> #define _KERNEL #include <sys/mount.h> +#include <sys/taskqueue.h> #undef _KERNEL #include <sys/sysctl.h> @@ -57,7 +58,7 @@ * definition. */ #define LOCATION_ZID (2 * sizeof(void *)) -#define LOCATION_ZPHYS(zsize) ((zsize) - (2 * sizeof(void *))) +#define LOCATION_ZPHYS(zsize) ((zsize) - (2 * sizeof(void *) - sizeof(struct task))) int zfs_filestat(struct vnode *vp, struct filestat *fsp) |