Subject: Re: map block # to inode in fsdb
To: Manuel Bouyer <>
From: Frank van der Linden <>
List: tech-userlevel
Date: 04/19/2003 15:32:02
On Thu, Apr 17, 2003 at 10:53:47PM +0200, Manuel Bouyer wrote:
> The attached patch is against 1.6.1. I'll port it to current (which I guess
> is a bit different because of UFS2) after getting comments, improvements,
> etc ..

Looks ok. For -current, please don't use ufs_daddr_t, use explicit
types for on-disk structures. Also, you're using sizeof (daddr_t) for
a diskblock search, which will be a problem; you need to use explicit
types there as well (and split up the cases for 32 vs. 64 bit block

- Frank