projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe0c02
)
hypfs: ->d_parent is never NULL or negative
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 01:33:07 +0000
(21:33 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 02:20:20 +0000
(22:20 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/s390/hypfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/hypfs/inode.c
b/arch/s390/hypfs/inode.c
index 6767b437a103aa2eb9d46fc19df6732f188f040b..a0d92d119f4bf24717e4a5b8007b4836b64cbf1a 100644
(file)
--- a/
arch/s390/hypfs/inode.c
+++ b/
arch/s390/hypfs/inode.c
@@
-72,8
+72,6
@@
static void hypfs_remove(struct dentry *dentry)
struct dentry *parent;
parent = dentry->d_parent;
- if (!parent || !parent->d_inode)
- return;
mutex_lock(&parent->d_inode->i_mutex);
if (hypfs_positive(dentry)) {
if (S_ISDIR(dentry->d_inode->i_mode))