Commit f6c8bfcf authored by Al Viro's avatar Al Viro

befs: d_obtain_alias(ERR_PTR(...)) will do the right thing

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 155d46be
......@@ -671,9 +671,6 @@ static struct dentry *befs_get_parent(struct dentry *child)
parent = befs_iget(child->d_sb,
(unsigned long)befs_ino->i_parent.start);
if (IS_ERR(parent))
return ERR_CAST(parent);
return d_obtain_alias(parent);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment