svn commit: r364290 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Sun Aug 16 22:51:00 UTC 2020
Author: kib
Date: Sun Aug 16 22:50:59 2020
New Revision: 364290
URL: https://svnweb.freebsd.org/changeset/base/364290
Log:
Fix powerpc build.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/vfs_vnops.c
Modified: head/sys/kern/vfs_vnops.c
==============================================================================
--- head/sys/kern/vfs_vnops.c Sun Aug 16 21:07:19 2020 (r364289)
+++ head/sys/kern/vfs_vnops.c Sun Aug 16 22:50:59 2020 (r364290)
@@ -929,7 +929,7 @@ vn_read_from_obj(struct vnode *vp, struct uio *uio)
* break calculation.
*/
#if defined(__powerpc__) && !defined(__powerpc64__)
- vsz = object->un_pager.vnp.vnp_size;
+ vsz = obj->un_pager.vnp.vnp_size;
#else
vsz = atomic_load_64(&obj->un_pager.vnp.vnp_size);
#endif
More information about the svn-src-all
mailing list