On Mon, Aug 01, 2011 at 09:46:33AM +0000, Emmanuel Dreyfus wrote:
> +     if (flags & FOLLOW)
> +             namei_simple_flags = NSM_FOLLOW_TRYEMULROOT;
> +     else
> +             namei_simple_flags =  NSM_NOFOLLOW_TRYEMULROOT;
> +
> +     error = namei_simple_user(path, namei_simple_flags, &vp);

Not withstanding dh's comment, why not pass in all the namei flags.

> +     error = namei_simple_user(path, flags, &vp);

        David

-- 
David Laight: [email protected]

Reply via email to