On Tue, May 01, 2007 at 05:48:15PM -0700, Matthew Ahrens wrote:
> Pawel Jakub Dawidek wrote:
> >so I started to use it. The thing is that it broke some functionality.
> >For example 'zpool status -v' doesn't show file names anymore.
> >I tracked it down to the zap_value_search() function and changi
Pawel Jakub Dawidek wrote:
> On Tue, May 01, 2007 at 05:48:15PM -0700, Matthew Ahrens wrote:
>> Pawel Jakub Dawidek wrote:
>>> so I started to use it. The thing is that it broke some functionality.
>>> For example 'zpool status -v' doesn't show file names anymore.
>>> I tracked it down to the zap_v
Pawel Jakub Dawidek wrote:
> so I started to use it. The thing is that it broke some functionality.
> For example 'zpool status -v' doesn't show file names anymore.
>
> I tracked it down to the zap_value_search() function and changing:
>
> if (za->za_first_integer == value) {
> into:
>
Hi.
Some time ago I found:
/*
* MacOS X will fill in the 4-bit object type here.
*/
value = ZFS_DIRENT_MAKE(0, zp->z_id);
and:
objnum = ZFS_DIRENT_OBJ(zap.za_first_integer);
/*
* MacOS X can extract the object type here such as: