projects
/
unionfs-odf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b15a3
)
Unionfs: initialize namelist variable in rename
author
Erez Zadok
<ezk@cs.sunysb.edu>
Thu, 10 Jan 2008 12:06:35 +0000
(07:06 -0500)
committer
Rachita Kothiyal
<rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:31 +0000
(19:03 -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 00a71b4a4e79e67d161a9c1a8ce7c85149ee866c..8a0a269fd0f920bbb43e80fd6825b769e6411629 100644
(file)
--- a/
fs/unionfs/rename.c
+++ b/
fs/unionfs/rename.c
@@
-403,7
+403,7
@@
int unionfs_rename(struct inode *old_dir, struct dentry *old_dentry,
goto out;
}
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)