commit 675053a227b3ab9aaf1fec8be7e005f41cfbea10
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Wed Apr 11 16:21:23 2007 -0400

    don't lookup dots in odf

diff --git a/fs/unionfs/dirhelper.c b/fs/unionfs/dirhelper.c
index 
129f15730224ec2b11cb78c83fc627450c5943a7..7395464145f079e27f22138e6734b4ed19f3c54a
 100644
--- a/fs/unionfs/dirhelper.c
+++ b/fs/unionfs/dirhelper.c
@@ -151,6 +151,8 @@ static int readdir_util_callback(void *d
                (namelen == 1 || (name[1] == '.' && namelen == 2))){
                if (buf->mode != RD_CACHE_ODF)
                        goto out;
+               else
+                       goto find;
        }
        
        /* we dont care about odf when checking hidden dirs */
@@ -175,6 +177,7 @@ static int readdir_util_callback(void *d
        }
        if (odi && odi->whiteout)
                whiteout = 1;
+find:
        found = find_filldir_node(buf->rdstate, name, namelen);
        /* If it was found in the table there was a previous whiteout. */
        if (found)
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to