commit 9d77fa2562bfa8a407183ec667ff1ca9d67eb344
Author: Rachita Kothiyal <[EMAIL PROTECTED]>
Date:   Thu Nov 22 00:12:34 2007 -0500

    Unionfs: Avoid looking for a lower dentry for a negative dbstart.
    
    Signed-off-by: Rachita Kothiyal ([EMAIL PROTECTED])

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index 42577e3..baed380 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1004,7 +1004,7 @@ int odf_lookup(struct dentry *parent, struct dentry 
*dentry, int flags)
                        if (lower_dentry)
                                break;
                }
-       } else {
+       } else if (dbstart(dentry) != -1) {
                lower_dentry = unionfs_lower_dentry(dentry);
                bstart = dbstart(dentry);
        }
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to