commit d10a9e1278408b9fd577807dee260a98c52cdd01
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Tue Dec 25 17:03:29 2007 -0500
Unionfs: initialize namelist variable in rename
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/rename.c b/fs/unionfs/rename.c
index 97b4419..bc71e8e 100644
--- a/fs/unionfs/rename.c
+++ b/fs/unionfs/rename.c
@@ -457,7 +457,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)
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs