Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ecryptfs: ->lower_path.dentry is never NULL

... on anything found via ->d_fsdata

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro cbe9c085 92dd1230

+1 -2
+1 -2
fs/ecryptfs/dentry.c
··· 81 81 { 82 82 struct ecryptfs_dentry_info *p = dentry->d_fsdata; 83 83 if (p) { 84 - if (p->lower_path.dentry) 85 - path_put(&p->lower_path); 84 + path_put(&p->lower_path); 86 85 call_rcu(&p->rcu, ecryptfs_dentry_free_rcu); 87 86 } 88 87 }