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

From: Linus Torvalds
Date: Fri Mar 13 2020 - 20:42:44 EST


On Fri, Mar 13, 2020 at 4:56 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> 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