aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2009-06-09 03:35:42 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2009-06-09 03:35:42 +0000
commite29dea04cbd2d71631aa524a2c8a9ac488dc2424 (patch)
tree9ba7afa19901e903c8e8e141497f28e42e37e2bd /usr.bin/fstat
parentfb70e72b0c398b4b3d3a56b747b22e98d2e67964 (diff)
Notes
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r--usr.bin/fstat/zfs.c3
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)