diff options
-rw-r--r-- | fs/ecryptfs/dentry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ecryptfs/dentry.c b/fs/ecryptfs/dentry.c index 8cefa8e13bcc..4000f6b3a750 100644 --- a/fs/ecryptfs/dentry.c +++ b/fs/ecryptfs/dentry.c | |||
@@ -81,8 +81,7 @@ static void ecryptfs_d_release(struct dentry *dentry) | |||
81 | { | 81 | { |
82 | struct ecryptfs_dentry_info *p = dentry->d_fsdata; | 82 | struct ecryptfs_dentry_info *p = dentry->d_fsdata; |
83 | if (p) { | 83 | if (p) { |
84 | if (p->lower_path.dentry) | 84 | path_put(&p->lower_path); |
85 | path_put(&p->lower_path); | ||
86 | call_rcu(&p->rcu, ecryptfs_dentry_free_rcu); | 85 | call_rcu(&p->rcu, ecryptfs_dentry_free_rcu); |
87 | } | 86 | } |
88 | } | 87 | } |