commit 8717be55ed11cbf7b4e4268d257f0d65fefb158b
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Fri Jun 1 00:00:05 2007 -0400
put '}' of code block on same line as "else {"
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/dirhelper.c b/fs/unionfs/dirhelper.c
index
7b7fac405a313d6e926eeda71b52e64e79e16e49..e8a1e4bdb9a30f6ea8911040b62b85acefa46af3
100644
--- a/fs/unionfs/dirhelper.c
+++ b/fs/unionfs/dirhelper.c
@@ -167,8 +167,7 @@ static int readdir_util_callback(void *d
if (PTR_ERR(odf_dentry) == -ENOENT) {
odf_dentry = NULL;
not_in_odf = 1;
- }
- else {
+ } else {
odf_dentry = NULL;
goto out;
}
diff --git a/fs/unionfs/export.c b/fs/unionfs/export.c
index
78e68c3ffff7b4f957c85415d78cfe8fade0ff64..cb0f15000e5a272de64fcfabec5e63b80b399ca2
100644
--- a/fs/unionfs/export.c
+++ b/fs/unionfs/export.c
@@ -55,8 +55,7 @@ static struct dentry *__get_parent(struc
d = d->d_parent;
if (d != odf_root)
dget(d);
- }
- else {
+ } else {
/*
* if the odf dentry is disconnected we get its
* parent by calling get_parent on the odf fs
diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c
index
eb858b5e774e0a393b4a6b9937f270d2bd433e43..6a0f7a4e2ed58d7fad07fd994e08203d2aa706bc
100644
--- a/fs/unionfs/inode.c
+++ b/fs/unionfs/inode.c
@@ -207,8 +207,7 @@ static int unionfs_link(struct dentry *o
unionfs_set_lower_mnt_idx(new_dentry, 0, NULL);
}
- }
- else {
+ } else {
err = -EROFS;
goto docopyup;
}
diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index
4e87eedd33ed7474cb6632601a208f3a9ae7058d..6893dba72d064eb16457b051dc1dc66fab170a71
100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1186,8 +1186,7 @@ struct dentry *__odf_lookup(struct dentr
current->fsuid = 0;
current->fsgid = 0;
err = vfs_mkdir(odf_i_dir, odf_dentry, S_IRWXUGO);
- }
- else {
+ } else {
dput(odf_dentry);
odf_dentry = ERR_PTR(-ENOENT);
goto out;
diff --git a/fs/unionfs/rename.c b/fs/unionfs/rename.c
index
b1d42b5065a7de39545b6279346431dbc9b9bbce..942d1e7c9b148d96ac282e8204012633a8aa99a1
100644
--- a/fs/unionfs/rename.c
+++ b/fs/unionfs/rename.c
@@ -214,8 +214,7 @@ static int do_unionfs_rename(struct inod
old_dentry->d_inode->i_mode);
if (err)
goto revert;
- }
- else {
+ } else {
/* otherwise do regular copyup & rename */
err = copyup_dentry(old_dentry->d_parent->d_inode,
old_dentry, old_bstart, bindex,
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs