Re: file system building

aem@netcom.ca
Sat, 3 Jan 1998 13:34:36 -0500 (EST)


> The file system is not inode driven, which forces me to invent a inode
> number for the iget(). I choose this inode number to the address of the
> xnode.

Just make sure the inode number is the same for a given object.
Seems many programs care about inode numbers.

> The problem is, when the inode is cached in the dcache, it must have been
> created by the iget(sb,xnode), and the reference count should be 0

Stuff in the dcache has an inode count >0 as dcache is using the inode.

--
Andrew E. Mileski   mailto:aem@netcom.ca