[lkml]   [2002]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [BUG] symlink problem with knfsd and reiserfs
>>>>> " " == Nikita Danilov <Nikita@Namesys.COM> writes:

> Yes, inode->i_generation is stored in the file handle:
> fs/reiserfs/inode.c:reiserfs_dentry_to_fh().

But what is stored in inode->i_generation? AFAICS

inode->i_generation = le32_to_cpu (INODE_PKEY (inode)->k_dir_id);

which appears not to be a unique generation count. Isn't that instead
the directory's object id?

The point of i_generation is to provide a unique number that changes
every time you reuse the inode number.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:23    [W:0.047 / U:4.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site