提交 3a8ca1b6 编写于 作者: A Al Viro

hypfs: ->d_parent is never NULL or negative

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 1fe0c023
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册