projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0375a9
)
Unionfs: free lower paths array when destroying dentry's private data
author
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 28 Jul 2008 04:25:46 +0000
(
00:25
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:38:18 +0000
(22:38 -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 37adf66f65ad1d938eda9906a3dedb231c009877..b5f64c9a53edb76833a50e05275fb227754d6826 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;
}