Subject: Re: UFS2 problem or dump(8)?
To: enami tsugutomo <enami@sm.sony.co.jp>
From: Frank van der Linden <fvdl@netbsd.org>
List: current-users
Date: 05/01/2003 13:19:48
On Thu, May 01, 2003 at 08:15:15PM +0900, enami tsugutomo wrote:
> Frank van der Linden <fvdl@netbsd.org> writes:
> 
> > What's the other possibly bad piece of code?
> 
> The interface of dirindir() is changed (now caller is responsible to
> swap 2nd argument `blkno') but the recursive call inside dirindir()
> isn't adjusted for the change.

I see, thanks! The searchdir() call inside dirindir() was also wrong
(possible 64bit byteswap on casted 32 bit value). I'll check in a
fix in a minute.

- Frank

-- 
Frank van der Linden                                            fvdl@netbsd.org
===============================================================================
NetBSD. Free, Unix-like OS. > 45 different platforms.    http://www.netbsd.org/