Fix bug in zphys offset calculation I introduced while retyping

original patch.
This commit is contained in:
bland 2009-06-09 04:09:31 +00:00
parent 7f2da90f38
commit cd8208ffdb

View File

@ -58,7 +58,7 @@
* definition.
*/
#define LOCATION_ZID (2 * sizeof(void *))
#define LOCATION_ZPHYS(zsize) ((zsize) - (2 * sizeof(void *) - sizeof(struct task)))
#define LOCATION_ZPHYS(zsize) ((zsize) - (2 * sizeof(void *) + sizeof(struct task)))
int
zfs_filestat(struct vnode *vp, struct filestat *fsp)