Author: bland (ports committer)
Date: Tue Jun  9 03:35:42 2009
New Revision: 193799
URL: http://svn.freebsd.org/changeset/base/193799

Log:
  Chase ZFS v13 import changes.
  This is a temporary fix until we find a way to avoid fstat
  to be broken each time we change the znode.
  
  Approved by:  lulf

Modified:
  head/usr.bin/fstat/zfs.c

Modified: head/usr.bin/fstat/zfs.c
==============================================================================
--- head/usr.bin/fstat/zfs.c    Tue Jun  9 03:27:08 2009        (r193798)
+++ head/usr.bin/fstat/zfs.c    Tue Jun  9 03:35:42 2009        (r193799)
@@ -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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to