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:
633d6c7
)
Unionfs: initialize namelist variable in rename
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 23 Dec 2007 21:36:29 +0000
(16:36 -0500)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:37:21 +0000
(22:37 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/rename.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/rename.c
b/fs/unionfs/rename.c
index 1019d474d0e21acb671c8e46767b745e216a42a7..9306a2b92b39438e428a6d05b3c2f1198c865d76 100644
(file)
--- a/
fs/unionfs/rename.c
+++ b/
fs/unionfs/rename.c
@@
-462,7
+462,7
@@
int unionfs_rename(struct inode *old_dir, struct dentry *old_dentry,
}
if (S_ISDIR(new_dentry->d_inode->i_mode)) {
- struct unionfs_dir_state *namelist;
+ struct unionfs_dir_state *namelist
= NULL
;
/* check if this unionfs directory is empty or not */
err = check_empty(new_dentry, &namelist);
if (err)