Fix bug in zphys offset calculation I introduced while retyping
original patch.
This commit is contained in:
parent
7f2da90f38
commit
cd8208ffdb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user