commit 9da6ef8c901c9f979b64e7c49a8694b547164b23
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Thu Jan 10 07:06:35 2008 -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 00a71b4..8a0a269 100644
--- 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)
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs