projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92dd123
)
ecryptfs: ->lower_path.dentry is never NULL
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 16 Sep 2013 00:54:18 +0000
(20:54 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 25 Oct 2013 03:34:48 +0000
(23:34 -0400)
... on anything found via ->d_fsdata
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/dentry.c
patch
|
blob
|
history
diff --git
a/fs/ecryptfs/dentry.c
b/fs/ecryptfs/dentry.c
index
8cefa8e
..
4000f6b
100644
(file)
--- a/
fs/ecryptfs/dentry.c
+++ b/
fs/ecryptfs/dentry.c
@@
-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);
}
}