lkml.org 
[lkml]   [2006]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] make last_inode counter in new_inode 32-bit on kernels that offer x86 compatability
From
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-07 18:55    [from the cache]
©2003-2011 Jasper Spaans