commit 49baa3b3406fe6c6d598d350beb255a61289be70
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Tue Apr 24 15:31:16 2007 -0400
removed c++ style comments
diff --git a/fs/unionfs/copyup.c b/fs/unionfs/copyup.c
index 7ebe17d..181fbcc 100644
--- a/fs/unionfs/copyup.c
+++ b/fs/unionfs/copyup.c
@@ -442,7 +442,7 @@ static int copyup_named_dentry(struct inode *dir, struct
dentry *dentry,
if (!d_deleted(dentry))
unionfs_reinterpose(dentry);
-// err = odf_copyup_link(sb, old_hidden_dentry, new_hidden_dentry,
old_bindex, new_bindex);
+ /*err = odf_copyup_link(sb, old_hidden_dentry, new_hidden_dentry,
old_bindex, new_bindex);*/
goto out_unlock;
diff --git a/fs/unionfs/dirhelper.c b/fs/unionfs/dirhelper.c
index 7fa2279..ebcbcb5 100644
--- a/fs/unionfs/dirhelper.c
+++ b/fs/unionfs/dirhelper.c
@@ -436,7 +436,7 @@ retry:
odf_unlock(UNIONFS_D(d_upper)->odf_info);
/* set mtime of odf file to that of higher file */
- attr.ia_mtime = *mtime;//d_upper->d_inode->i_mtime;
+ attr.ia_mtime = *mtime;
attr.ia_valid = ATTR_MTIME | ATTR_MTIME_SET | ATTR_FORCE;
err = notify_change(d_odf, &attr);
goto out;
diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index a3cc6c8..847cd0b 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1327,7 +1327,6 @@ out:
int odf_purge_dir_cache(struct dentry *dentry)
{
int err = 0;
- //struct iattr attr;
struct odf_dentry_info *odi = NULL;
odi = odf_ic_cache_dentry(dentry);
@@ -1336,15 +1335,6 @@ int odf_purge_dir_cache(struct dentry *dentry)
odi = NULL;
goto out;
}
-
- /* truncate */
-/*
- if (dentry->d_inode) {
- attr.ia_size = 0;
- attr.ia_valid = ATTR_SIZE | ATTR_FORCE;
- err = notify_change(odi->dentry, &attr);
- }
-*/
err = vfs_unlink(odi->dentry->d_parent->d_inode, odi->dentry);
out:
odf_put_info(odi);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs