Commit a803b806 authored by Al Viro's avatar Al Viro

fix exofs ->get_parent()

NULL is not a possible return value for that method, TYVM...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1b71fe2e
......@@ -913,7 +913,7 @@ struct dentry *exofs_get_parent(struct dentry *child)
unsigned long ino = exofs_parent_ino(child);
if (!ino)
return NULL;
return ERR_PTR(-ESTALE);
return d_obtain_alias(exofs_iget(child->d_inode->i_sb, ino));
}
......
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