Josef Sipek:
> Could you rediff whichever patch you want us to commit against latest
> CVS?

--- unionfs-20060414-2304/unlink.c      17 Apr 2006 00:41:08 -0000      1.1
+++ unionfs-20060414-2304/unlink.c      17 Apr 2006 01:05:47 -0000      1.2
@@ -139,12 +139,8 @@ static int unionfs_unlink_whiteout(struc
                err = create_whiteout(dentry, dbstart(dentry));
        }
       out:
-       /* propagate number of hard-links */
-       if (dentry->d_inode->i_nlink != 0) {
-               dentry->d_inode->i_nlink = get_nlinks(dentry->d_inode);
-               if (!err)
-                       dentry->d_inode->i_nlink--;
-       }
+       if (!err)
+               dentry->d_inode->i_nlink--;
        /* We don't want to leave negative leftover dentries for revalidate. */
        if (!err && (dbopaque(dentry) != -1))
                update_bstart(dentry);
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to