/* nfs_revalidate_mapping_nolock - Revalidate the pagecache @inode - pointer to host inode @mapping - pointer to mapping  */
int nfs_revalidate_mapping_nolock(struct inode *inode, struct address_space *mapping)
/* nfs_revalidate_mapping_nolock - Revalidate the pagecache @inode - pointer to host inode @mapping - pointer to mapping  */
int nfs_revalidate_mapping_nolock(struct inode *inode, struct address_space *mapping)
{
	struct nfs_inode *nfsi = NFS_I(inode);
	int ret = 0;
	if ((nfsi->cache_validity & NFS_INO_REVAL_PAGECACHE)
			|| nfs_attribute_timeout(inode) || NFS_STALE(inode)) {
		ret = __nfs_revalidate_inode(NFS_SERVER(inode), inode);
		if (ret < 0)
			goto out;
	}
	if (nfsi->cache_validity & NFS_INO_INVALID_DATA)
		ret = nfs_invalidate_mapping_nolock(inode, mapping);
out:
	return ret;
}