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

Commit a803b806 authored by Al Viro's avatar Al Viro
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
}