diff options
| author | Alexander Nedotsukov <bland@FreeBSD.org> | 2009-06-09 03:35:42 +0000 |
|---|---|---|
| committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2009-06-09 03:35:42 +0000 |
| commit | e29dea04cbd2d71631aa524a2c8a9ac488dc2424 (patch) | |
| tree | 9ba7afa19901e903c8e8e141497f28e42e37e2bd /usr.bin/fstat | |
| parent | fb70e72b0c398b4b3d3a56b747b22e98d2e67964 (diff) | |
Notes
Diffstat (limited to 'usr.bin/fstat')
| -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 fc23261c76aa..cc284fb58bad 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) |
