diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 21:33:07 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 22:20:20 -0400 |
commit | 3a8ca1b6bf7069338e266082479f2f632c29afb3 (patch) | |
tree | f646279fb03e3507055d2fe1faf0a38623efaf90 /arch/s390 | |
parent | 1fe0c0230a7c2d5f4061e681a3f3be9512446d23 (diff) | |
download | op-kernel-dev-3a8ca1b6bf7069338e266082479f2f632c29afb3.zip op-kernel-dev-3a8ca1b6bf7069338e266082479f2f632c29afb3.tar.gz |
hypfs: ->d_parent is never NULL or negative
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/hypfs/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 6767b43..a0d92d1 100644 --- 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)) |