/* Note that the current set of intents only apply to the very last component of the path. We check for this using LOOKUP_CONTINUE and LOOKUP_PARENT.  */
static unsigned int nfs_lookup_check_intent(struct nameidata *nd, unsigned int mask)
/* Note that the current set of intents only apply to the very last component of the path. We check for this using LOOKUP_CONTINUE and LOOKUP_PARENT.  */
static unsigned int nfs_lookup_check_intent(struct nameidata *nd, unsigned int mask)
{
	if (nd->flags & (LOOKUP_CONTINUE|LOOKUP_PARENT))
		return 0;
	return nd->flags & mask;
}