/*
* Avoid caching directories. Once everything is using getdirentries()
* this will never happen anyhow.
*/
if (vp->v_type == VDIR) {
error = nfs_readrpc(vp, uio, offp, cred);
/*
* Avoid caching directories. Once everything is using getdirentries()
* this will never happen anyhow.
*/
if (vp->v_type == VDIR) {
error = nfs_readrpc(vp, uio, offp, cred);