lkml.org 
[lkml]   [2002]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [BUG] symlink problem with knfsd and reiserfs
From
>>>>> " " == 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.

Cheers,
Trond
-
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: 2005-03-22 13:23    [W:0.039 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site