提交 cbe9c085 编写于 作者: A Al Viro

ecryptfs: ->lower_path.dentry is never NULL

... on anything found via ->d_fsdata
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 92dd1230
......@@ -81,8 +81,7 @@ static void ecryptfs_d_release(struct dentry *dentry)
{
struct ecryptfs_dentry_info *p = dentry->d_fsdata;
if (p) {
if (p->lower_path.dentry)
path_put(&p->lower_path);
path_put(&p->lower_path);
call_rcu(&p->rcu, ecryptfs_dentry_free_rcu);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册