Re: [RFC][PATCH v4 27/69] namei: invert the meaning of WALK_FOLLOW

Linus Torvalds
2020-03-14T00:42:39Z

On Fri, Mar 13, 2020 at 4:56 PM Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> - !(flags & WALK_FOLLOW || nd->flags & LOOKUP_FOLLOW) ||
> - flags & WALK_NOFOLLOW) {
> + ((flags & WALK_TRAILING) && !(nd->flags & LOOKUP_FOLLOW)) ||
> + (flags & WALK_NOFOLLOW)) {

Oh, and here you fix the implicit precedence thing I was complaining
about earlier.

Maybe my original complaint had happened at this point, and I'd missed
the original place.

Likely.

Linus