mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
befs: d_obtain_alias(ERR_PTR(...)) will do the right thing
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
155d46beea
commit
f6c8bfcf95
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user