[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200315142400.GU23230@ZenIV.linux.org.uk>
Date: Sun, 15 Mar 2020 14:24:00 +0000
From: Al Viro <viro@...iv.linux.org.uk>
To: Hillf Danton <hdanton@...a.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [RFC][PATCH v4 23/69] merging pick_link() with get_link(), part 5
On Sun, Mar 15, 2020 at 05:53:23PM +0800, Hillf Danton wrote:
> > + res = step_into(nd, 0, dentry, inode, seq);
> > + if (unlikely(res)) {
>
> Need to check that res is not err.
>
> > + nd->flags |= LOOKUP_PARENT;
> > + nd->flags &= ~(LOOKUP_OPEN|LOOKUP_CREATE|LOOKUP_EXCL);
> > + nd->stack[0].name = NULL;
> > + return res;
> > }
Not really...
Powered by blists - more mailing lists