GIT: unionfs2-2.6.27.y: coding-style: remove one more {braces} around one-statement code block

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:07 EDT 2010


commit 4d89dec53cd9d7a0037f62a75658257794157c7f
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date:   Sat Mar 24 19:32:42 2007 -0400

    coding-style: remove one more {braces} around one-statement code block

diff --git a/fs/unionfs/subr.c b/fs/unionfs/subr.c
index 4f1b355..f77101b 100644
--- a/fs/unionfs/subr.c
+++ b/fs/unionfs/subr.c
@@ -77,12 +77,11 @@ int create_whiteout(struct dentry *dentry, int start)
 		}
 
 		hidden_dir_dentry = lock_parent(hidden_wh_dentry);
-		if (!(err = is_robranch_super(dentry->d_sb, bindex))) {
+		if (!(err = is_robranch_super(dentry->d_sb, bindex)))
 			err = vfs_create(hidden_dir_dentry->d_inode,
 					 hidden_wh_dentry,
 					 ~current->fs->umask & S_IRWXUGO,
 					 NULL);
-		}
 		unlock_dir(hidden_dir_dentry);
 		dput(hidden_wh_dentry);
 


More information about the unionfs-cvs mailing list