From c0dbe950192897247de6003f2dea1ca3c466fe01 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Thu, 2 Jul 2015 04:54:43 +0300 Subject: 6044 SPARC zfs reader is using wrong size for objset_phys Reviewed by: Igor Kozhukhov Approved by: Richard Lowe --- usr/src/psm/stand/bootblks/zfs/common/zfs.fth | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/src/psm/stand/bootblks/zfs/common/zfs.fth b/usr/src/psm/stand/bootblks/zfs/common/zfs.fth index 11447ce633..2c6c80f6ca 100644 --- a/usr/src/psm/stand/bootblks/zfs/common/zfs.fth +++ b/usr/src/psm/stand/bootblks/zfs/common/zfs.fth @@ -801,8 +801,8 @@ new-device \ read meta object set from uber-block : get-mos ( -- ) - mos-dn /dnode ( adr len ) - uber-block ub_rootbp read-bp + mos-dn uber-block ub_rootbp ( adr bp ) + dup bp-lsize swap read-bp ; : get-mos-dnode ( obj# -- ) @@ -882,7 +882,7 @@ new-device \ get objset from dataset : get-objset ( adr dn -- ) - >dsl-ds ds_bp /dnode swap read-bp + >dsl-ds ds_bp dup bp-lsize swap read-bp ; -- cgit v1.2.3