Gunnar Raetsch wrote:
> 
> Details:
> 
> on hebb (server):
> -----------------
> 
> cd /export/hebb
> mkdir test1 test2
> cp /bin/tcsh .
> cd test1
> ln ../tcsh tcsh
> cd ../test2
> ln ../tcsh tcsh

Hi Vladimir,
Excuse me for being easily distracted on a Friday.  The inode for tcsh
on the server should have multiple d_alias dentries since it is in
multiple directories, but, reiserfs_fh_to_dentry() returns the first
non-DCACHE_NFSD_DISCONNECTED dentry that it finds, regardless of what
parent directory the dentry has.  If the wrong dentry is returned for
the export tree, then fh_verify() will fail the subtree check, because
it won't find the exported dentry as a parent in the tree of the dentry
returned for the file handle.  If the file handle contains the parent
directory's inode number, perhaps that could be used to help choose the
correct dentry to return from reiserfs_fh_to_dentry()?

Anne

Reply via email to