cache_inode_rename needs to avoid deadlock.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
PTHREAD_RWLOCK_UNLOCK macro fix.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
avoid referencing stale entry in nfs4_op_open.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
cache_inode_create needs to check the type returned
from FSAL.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>