Re: [BUG] symlink problem with knfsd and reiserfs

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Tue Jan 15 2002 - 08:40:29 EST


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



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:51 EST