]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ecryptfs/dentry.c
ecryptfs: ->lower_path.dentry is never NULL
[karo-tx-linux.git] / fs / ecryptfs / dentry.c
index 8cefa8e13bccdc4c8eefe26c54a88c14378cf8f9..4000f6b3a7504505bb46d3d5ef2946b53e3d5cc9 100644 (file)
@@ -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);
        }
 }