coding-style: remove one more {braces} around one-statement code block
authorErez_Zadok <ezk@cs.sunysb.edu>
Sat, 24 Mar 2007 23:32:42 +0000 (19:32 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 11 Nov 2014 02:32:02 +0000 (21:32 -0500)
fs/unionfs/subr.c

index 4f1b355dd1b12170249607eec726edab10e0a5a4..f77101be0bdaa94c06e46fe1d410c5dbbb7325d1 100644 (file)
@@ -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);