Yes, inode->i_generation is stored in the file handle:
fs/reiserfs/inode.c:reiserfs_dentry_to_fh().
Hans-Peter, what version of NFS are you using and have you remounted
clients after upgrading to the newer kernel?
>
> My 'fix' just solves the immediate problem of the wrong file mode. It
> does not solve the problems of data corruption that can occur when the
> client is incapable of distinguishing the 'old' and 'new' files that
> share the same filehandle.
This requires i_generation overflow (modulo bug in reiserfs).
>
> Cheers,
> Trond
Nikita.
-
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/