diff options
author | Toomas Soome <tsoome@me.com> | 2015-07-02 04:54:43 +0300 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2015-07-14 11:54:10 -0400 |
commit | c0dbe950192897247de6003f2dea1ca3c466fe01 (patch) | |
tree | 6d4da5b5febf67f11bdd96e547b5f1a6187045b3 | |
parent | 10d63b7db37a83b39c7f511cf9426c9d03ea0760 (diff) | |
download | illumos-joyent-c0dbe950192897247de6003f2dea1ca3c466fe01.tar.gz |
6044 SPARC zfs reader is using wrong size for objset_phys
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r-- | usr/src/psm/stand/bootblks/zfs/common/zfs.fth | 6 |
1 files 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 ; |