commit 0b5cbe51c176ade94189fb6b28f28f54c65edf96
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Fri Jun 1 00:03:15 2007 -0400

    place '}' of previous code block together with "else {"
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index 6893dba..5ee3c47 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -612,8 +612,7 @@ struct dentry *__link_add_dirent(struct file *link_file, 
struct dentry *dentry)
                        err = -EIO;
                        goto out;
                }
-       }
-       else {
+       } else {
 
                /* check if our dirent is already in the file */
                link_file->f_pos = sizeof(__le32) + sizeof(__le64);
@@ -1007,8 +1006,7 @@ int odf_lookup(struct dentry *parent, struct dentry 
*dentry, int flags)
                        if (lower_dentry)
                                break;
                }
-       }
-       else {
+       } else {
                lower_dentry = unionfs_lower_dentry(dentry);
                bstart = dbstart(dentry);
        }
@@ -1216,8 +1214,7 @@ struct dentry *__odf_lookup(struct dentry *parent,
                opaque = (flags & ODF_LOOKUP_OPQ) ?
                        branch_id(parent->d_sb, 0) : -1;
                odf_set_opaque(odf_dentry, opaque);
-       }
-       else {
+       } else {
                /*
                 * hardlinks, check if link inode is same as odf_dentry inode,
                 * and if not, link them
@@ -1768,8 +1765,7 @@ int odf_write_sb_data(struct odf_sb_info *osi, struct 
unionfs_data *data,
                        dput(d_content);
                        goto out;
                }
-       }
-       else {
+       } else {
                err = vfs_create(d_content->d_parent->d_inode, d_content,
                                 S_IRWXUGO, NULL);
                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