projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b71fe2
)
fix exofs ->get_parent()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 9 Jul 2011 00:56:55 +0000
(20:56 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 18 Jul 2011 03:20:29 +0000
(23:20 -0400)
NULL is not a possible return value for that method, TYVM...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/exofs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/exofs/super.c
b/fs/exofs/super.c
index 06065bd37fc339070948a141cd8063c9d39af8ad..c57beddcc217e3e3592fe977f8237f7f46ddf16f 100644
(file)
--- a/
fs/exofs/super.c
+++ b/
fs/exofs/super.c
@@
-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));
}