Re: [PATCH] make last_inode counter in new_inode 32-bit on kernels that offer x86 compatability

From: Jörn Engel
Date: Tue Nov 07 2006 - 13:07:49 EST


On Tue, 7 November 2006 11:53:03 -0600, Dave Kleikamp wrote:
> On Tue, 2006-11-07 at 18:42 +0100, Jörn Engel wrote:
> >
> > Jfs really surprised me. It appears as if it just takes the number
> > returned from new_inode in some cases - unbelievable.
>
> jfs set it in diInitInode() (pardon the uglyMixedCaps), which is called
> in several places under diAlloc(). diAlloc() is called after
> new_inode() for most inodes. The exceptions are for special inodes,
> which also initialize i_ino in some manner.

Yes, even I see it now. Thanks for clearing that up.

Jörn

--
Joern's library part 10:
http://blogs.msdn.com/David_Gristwood/archive/2004/06/24/164849.aspx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/