fix exofs ->get_parent()
NULL is not a possible return value for that method, TYVM... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
1b71fe2efa
commit
a803b8067e
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue