tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] llink(2) (was: Re: Adding linux_link(2) system call, second round)
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: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index