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

From: Dave Kleikamp
Date: Tue Nov 07 2006 - 12:53:33 EST


On Tue, 2006-11-07 at 18:42 +0100, Jörn Engel wrote:
> On Tue, 7 November 2006 18:28:35 +0100, Jörn Engel wrote:
> >
> > Anyway, here is a first patch converting some callers that looked
> > obvious.
>
> Next patch with the not-so-obvious ones. I believe this patch is
> correct, but someone should double-check it.
>
> 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.

Shaggy
--
David Kleikamp
IBM Linux Technology Center

-
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/