commit 82668a0eccf3dcedb9ed815e3e01a42526c18ffb
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Sat May 5 16:03:50 2007 -0400

    bugfix: ignore notify_change error when updating mtime in unlink and rmvdir

diff --git a/fs/unionfs/unlink.c b/fs/unionfs/unlink.c
index 
0284d91f353e5767e7a3ac3421280871f8253d7d..29987254ca49625185b42c53ab1af57c0257ebca
 100644
--- a/fs/unionfs/unlink.c
+++ b/fs/unionfs/unlink.c
@@ -76,6 +76,11 @@ static int unionfs_do_unlink(struct inod
        attr.ia_valid = ATTR_MTIME | ATTR_MTIME_SET | ATTR_FORCE;
        err = notify_change(dentry->d_parent, &attr);
 
+       /* XXX: ignore this error, for now, unionfs_setattr should
+        * be modified to set the attributes in /odf/ns not lower
+        * branches or set the odf mtime here */
+       err = 0;
+
 out:
        if (!err)
                dentry->d_inode->i_nlink--;
@@ -170,6 +175,11 @@ static int unionfs_do_rmdir(struct inode
        attr.ia_valid = ATTR_MTIME | ATTR_MTIME_SET | ATTR_FORCE;
        err = notify_change(dentry->d_parent, &attr);
 
+       /* XXX: ignore this error, for now, unionfs_setattr should
+        * be modified to set the attributes in /odf/ns not lower
+        * branches or set the odf mtime here */
+       err = 0;
+
 out:
        return 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