commit 56c290a40746757fa4b5c7491209440b7a4998b1
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Sat Mar 24 18:19:49 2007 -0400
coding-style: remove unnecessary {braces} around one-line code blocks
diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c
index
17c0b274c3707612a8fdbc3ed80bec37b967f6f5..ab3f9e64031852d9b4bcdffe0755147707098627
100644
--- a/fs/unionfs/dentry.c
+++ b/fs/unionfs/dentry.c
@@ -196,9 +196,8 @@ int __unionfs_d_revalidate_chain(struct
dtmp = dtmp->d_parent;
dgen = atomic_read(&UNIONFS_D(dtmp)->generation);
}
- if (chain_len == 0) {
+ if (chain_len == 0)
goto out_this; /* shortcut if parents are OK */
- }
/*
* Allocate array of dentries to reval. We could use linked lists,
@@ -242,9 +241,8 @@ int __unionfs_d_revalidate_chain(struct
}
unionfs_unlock_dentry(chain[i]);
- if (!valid) {
+ if (!valid)
goto out_free;
- }
}
@@ -264,9 +262,8 @@ out_this:
out_free:
/* unlock/dput all dentries in chain and return status */
if (chain_len > 0) {
- for (i=0; i<chain_len; i++) {
+ for (i=0; i<chain_len; i++)
dput(chain[i]);
- }
kfree(chain);
}
out:
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs