projects
/
unionfs-2.6.9.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd7aa4
)
Unionfs: free lower paths array when destroying dentry's private data
author
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 28 Jul 2008 06:15:43 +0000
(
02:15
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 28 Jul 2008 06:15:43 +0000
(
02:15
-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 4af79fec0d40e8559cb19dd0abf994cdf2d2d31d..4bde3b60767ba434e515f721063ba4d2475c744d 100644
(file)
--- a/
fs/unionfs/lookup.c
+++ b/
fs/unionfs/lookup.c
@@
-463,6
+463,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;
}