xfs_lookup(), xfs_message_getnode()

Naomaru Itoi itoi at eecs.umich.edu
Tue Jun 9 23:54:22 CEST 1998


Hi,

I have a question about xfs_lookup() operation.
I guess the way arla xfs_lookup() works is as follows:

1. xfs_lookup() is called from VFS. 
2. xfs_lookup() sends a RPC message to arlad.
3. arlad invokes xfs_message_getnode().
4. If there is an entry lookup() is looking for in AFS, it returns the
entry's fid (or handle) to the kernel to install the node.
5. If there is NOT an entry lookup() is looking for in AFS, it returns
the parent directory's fid to the kernel to install the parent node.

I successfully have done 1-4 in my smartcard filesystem, but I am
stuck at 5.  I return EIO (=4) as an error code in the RPC message,
but it seems like the error is just ignored ... 'cd' command does not
tell me "no directory" or stuff like that.  

Any suggestion?

Thanks a lot.


--
Concentration .. Naomaru Itoi





More information about the Arla-drinkers mailing list