commit e821e9c7114e190d94394f7a1321d755ae6be480
Author: Rachita Kothiyal <[EMAIL PROTECTED]>
Date:   Mon Nov 26 15:06:05 2007 -0500

    Unionfs: release lower resources on successful rmdir: Missed

diff --git a/fs/unionfs/unlink.c b/fs/unionfs/unlink.c
index 8bad9bc..d888c6f 100644
--- a/fs/unionfs/unlink.c
+++ b/fs/unionfs/unlink.c
@@ -233,6 +233,9 @@ int unionfs_rmdir(struct inode *dir, struct dentry *dentry)
        unionfs_read_lock(dentry->d_sb);
        unionfs_lock_dentry(dentry);
 
+       dstart = dbstart(dentry);
+       dend = dbend(dentry);
+
        if (unlikely(!__unionfs_d_revalidate_chain(dentry, NULL, false))) {
                err = -ESTALE;
                goto out;
@@ -249,7 +252,7 @@ int unionfs_rmdir(struct inode *dir, struct dentry *dentry)
                goto out;
        /* FIXME: what if this fails? */
        err = odf_remove(dentry, ODF_RMV_NOTWH);
-
+       
 out:
        /*
         * Drop references to lower dentry/inode so storage space for them
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to