[zfs-code] ZFS_DIRENT_*().

2007-05-02 Thread Pawel Jakub Dawidek
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

[zfs-code] ZFS_DIRENT_*().

2007-05-01 Thread Matthew Ahrens
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

[zfs-code] ZFS_DIRENT_*().

2007-05-01 Thread Matthew Ahrens
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: >

[zfs-code] ZFS_DIRENT_*().

2007-04-22 Thread Pawel Jakub Dawidek
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: