Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbe9c085 authored by Al Viro's avatar Al Viro
Browse files

ecryptfs: ->lower_path.dentry is never NULL



... on anything found via ->d_fsdata

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 92dd1230
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -81,7 +81,6 @@ 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);
		call_rcu(&p->rcu, ecryptfs_dentry_free_rcu);
	}