commit 489e8641a6a4481f8ec1486ea127d81a9dde8c11
Author: Erez Zadok <[EMAIL PROTECTED]>
Date:   Tue Dec 25 17:01:40 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

Reply via email to