/* If parent mtime has changed, we revalidate, else we wait for a period corresponding to the parent's attribute cache timeout value.  */
static int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
/* If parent mtime has changed, we revalidate, else we wait for a period corresponding to the parent's attribute cache timeout value.  */
static int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
{
	if (nd != NULL && nfs_lookup_check_intent(nd, LOOKUP_CREATE) != 0)
		return 0;
	if (NFS_SERVER(dir)->flags & NFS_MOUNT_LOOKUP_CACHE_NONEG)
		return 1;
	return !nfs_check_verifier(dir, dentry);
}