commit 9e881fc31dd3753e4a1b57617c4de00d249e477b
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Wed May 30 19:56:57 2007 -0400
cleanup: removed trailing whitespace
diff --git a/fs/unionfs/dirhelper.c b/fs/unionfs/dirhelper.c
index 41065c4..6b53e1b 100644
--- a/fs/unionfs/dirhelper.c
+++ b/fs/unionfs/dirhelper.c
@@ -82,7 +82,7 @@ static int cleanup_util_callback(void *dirent, const char
*name, int namelen,
(namelen == 1 || (name[1] == '.' && namelen == 2)))
goto out;
- /* remove dir cache files or all if files if cleaning
+ /* remove dir cache files or all if files if cleaning
* /odf/reclaim nad /odf/sr
*/
if ((d_type == DT_REG && buf->mode != CLN_IC) ||
@@ -601,7 +601,7 @@ cleanup_loop:
while (err >= 0 && stack.n > 0 && !success) {
dentry = __odf_dstack_pop(&stack);
- /* we need to dget /odf/reclaim and /odf/sr dirs again since
+ /* we need to dget /odf/reclaim and /odf/sr dirs again since
* we need them after we close the file
*/
if (buf->mode != CLN_IC)
diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c
index 663de69..22263bd 100644
--- a/fs/unionfs/lookup.c
+++ b/fs/unionfs/lookup.c
@@ -88,7 +88,7 @@ struct dentry *unionfs_lookup_backend(struct dentry *dentry,
/* Now start the actual lookup procedure. */
bstart = dbstart(parent_dentry);
bend = dbend(parent_dentry);
-
+
/* check if whiteout here */
if (dentry && UNIONFS_D(dentry) && UNIONFS_D(dentry->d_parent)){
err = odf_lookup(dentry->d_parent, dentry, 0);
diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index d2822a3..a72f40f 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1062,7 +1062,7 @@ struct dentry *odf_lookup_name(struct dentry *parent,
const char *name, int len,
* required and handles hardlinks
*
* @parent: unionfs dir dentry
- * @target: unionfs target dentry. If not NULL, lookup will update its
+ * @target: unionfs target dentry. If not NULL, lookup will update its
* odf_dentry_info if an entry is found, or else NULLify it.
* Its name is not used for the lookup, as it can be NULL
* @name: the name to look for
@@ -1523,7 +1523,7 @@ int odf_remove(struct dentry *dentry, int flags)
BUG_ON(!UNIONFS_D(dentry)->odf.dentry);
odf_dentry = UNIONFS_D(dentry)->odf.dentry;
-
+
/* should we remove? */
if (__odf_is_wh(&UNIONFS_SB(dentry->d_sb)->odf, odf_dentry)) {
if (flags & ODF_RMV_WH)
diff --git a/fs/unionfs/rename.c b/fs/unionfs/rename.c
index c456144..42995e1 100644
--- a/fs/unionfs/rename.c
+++ b/fs/unionfs/rename.c
@@ -426,12 +426,12 @@ out:
* odf will silly rename this inode so it doesn't give it to
another
* inode
*/
- if (new_dentry->d_inode &&
+ if (new_dentry->d_inode &&
atomic_read(&new_dentry->d_inode->i_count) < 2) {
int bindex;
struct inode *i = new_dentry->d_inode;
for (bindex = ibstart(i); bindex <= ibend(i); bindex++)
{
- if (unionfs_lower_inode_idx(i, bindex))
+ if (unionfs_lower_inode_idx(i, bindex))
iput(unionfs_lower_inode_idx(i,
bindex));
unionfs_set_lower_inode_idx(i, bindex, NULL);
}
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs