commit | cbe9c08524a68a1bfc1ba8d84dabb985d18ff08d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Sep 15 20:54:18 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 24 23:34:48 2013 -0400 |
tree | 3b3d2c4cf14844f911b62de0f97971c426c23d0b | |
parent | 92dd123033d50051d1352fada1bad91c22a119cf [diff] [blame] |
ecryptfs: ->lower_path.dentry is never NULL ... on anything found via ->d_fsdata Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/ecryptfs/dentry.c b/fs/ecryptfs/dentry.c index 8cefa8e..4000f6b 100644 --- a/fs/ecryptfs/dentry.c +++ b/fs/ecryptfs/dentry.c
@@ -81,8 +81,7 @@ { 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); } }