Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ed883fd authored by Al Viro's avatar Al Viro
Browse files

openpromfs: switch to d_splice_alias()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b113a6d3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -256,8 +256,7 @@ static struct dentry *openpromfs_lookup(struct inode *dir, struct dentry *dentry
		break;
	}

	d_add(dentry, inode);
	return NULL;
	return d_splice_alias(inode, dentry);
}

static int openpromfs_readdir(struct file *file, struct dir_context *ctx)