MORE Add routines to mount an export in the new Pseudo FS

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE (squash) Add new junction support for NFS v4 LOOKUPP

Also make sure all our references are correct.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
In sanity check currentFH/savedFH assert that cache entry is valid

Now that a valid file handle always references a cache inode, we can
assert that data->current_entry or data->saved_entry is non-NULL (and
also that the filetype is not NO_FILE_TYPE).

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MOVE (reword - also move Fix return code in nfs_export_get_root_entry) Make nfs_export_get_root_entry return a reference to the cache inode entry

Since nfs_export_get_root_entry "looks up" a cache inode entry, it
should return a reference to that entry that the caller is responsible
for calling cache_inode_put for when done with it.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE Add some junction support to cache_inode

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE LOOKUPP

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE Add routines to mount an export in the new Pseudo FS

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Add lookup parent to FSAL_PSEUDO

To handle cache_inode_lookupp we need to be able to handle lookup
parent in the FSAL.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Add more debug in nfs4_op_lookup.c and nfs4_op_readdir.c

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE Add routines to mount an export in the new Pseudo FS

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Add more debug to cache_inode_readdir

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Insert parent's handle key on create or lookup

This is a shortcut useful to cache_inode_loookupp.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Don't proceed with cache_inode_get_keyed if key is NULL

Sometimes cache_inode_get_keyed is called to lookup a
directory inode's parent which has a NULL key because the
parent is currently uknown, don't attempt to use it.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
SQUASH Insert parent's handle key on create, lookup, or readdir

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>