lkml.org 
[lkml]   [2020]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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...

\
 
 \ /
  Last update: 2020-03-15 15:25    [W:0.285 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site