Loading fs/namei.c +3 −3 Original line number Diff line number Diff line Loading @@ -1188,12 +1188,12 @@ static int do_lookup(struct nameidata *nd, struct qstr *name, } if (!d_invalidate(dentry)) { dput(dentry); dentry = d_alloc_and_lookup(parent, name, nd); dentry = NULL; } } } else if (!dentry) { dentry = d_alloc_and_lookup(parent, name, nd); } if (!dentry) dentry = d_alloc_and_lookup(parent, name, nd); l: mutex_unlock(&dir->i_mutex); if (IS_ERR(dentry)) Loading Loading
fs/namei.c +3 −3 Original line number Diff line number Diff line Loading @@ -1188,12 +1188,12 @@ static int do_lookup(struct nameidata *nd, struct qstr *name, } if (!d_invalidate(dentry)) { dput(dentry); dentry = d_alloc_and_lookup(parent, name, nd); dentry = NULL; } } } else if (!dentry) { dentry = d_alloc_and_lookup(parent, name, nd); } if (!dentry) dentry = d_alloc_and_lookup(parent, name, nd); l: mutex_unlock(&dir->i_mutex); if (IS_ERR(dentry)) Loading