projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
155d46b
)
befs: d_obtain_alias(ERR_PTR(...)) will do the right thing
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 11 Nov 2023 06:52:25 +0000
(
01:52
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 21 Dec 2023 17:51:02 +0000
(12:51 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/befs/linuxvfs.c
patch
|
blob
|
history
diff --git
a/fs/befs/linuxvfs.c
b/fs/befs/linuxvfs.c
index a93d76df8ed8bb1502e6bcd261c1ef9cee60cb36..2b4dda047450f6d0ebfec058fa30e46a693ab025 100644
(file)
--- a/
fs/befs/linuxvfs.c
+++ b/
fs/befs/linuxvfs.c
@@
-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);
}