projects
/
unionfs-2.6.24.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec56ac
)
Unionfs: free lower paths array when destroying dentry's private data
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 27 Jul 2008 19:51:47 +0000
(15:51 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 27 Jul 2008 19:51:47 +0000
(15:51 -0400)
CC: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/lookup.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/lookup.c
b/fs/unionfs/lookup.c
index 95a17145001390c7b51a92ff7d4d96da13caee40..ef887d3c2deebe161857c5b11296da453c9c3fc5 100644
(file)
--- a/
fs/unionfs/lookup.c
+++ b/
fs/unionfs/lookup.c
@@
-450,6
+450,8
@@
void free_dentry_private_data(struct dentry *dentry)
{
if (!dentry || !dentry->d_fsdata)
return;
+ kfree(UNIONFS_D(dentry)->lower_paths);
+ UNIONFS_D(dentry)->lower_paths = NULL;
kmem_cache_free(unionfs_dentry_cachep, dentry->d_fsdata);
dentry->d_fsdata = NULL;
}