commit f87870e36811a531386c352ebd363faffcf0067a
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 129f157..7395464 100644
--- a/fs/unionfs/dirhelper.c
+++ b/fs/unionfs/dirhelper.c
@@ -151,6 +151,8 @@ static int readdir_util_callback(void *dirent, const char
*name, int namelen,
(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 *dirent, const char
*name, int namelen,
}
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