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
This commit is contained in:
parent
fb70e72b0c
commit
e29dea04cb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user