commit 593be330085868397ba6d7f5b4d27073ef209dba
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Mon May 28 11:44:08 2007 -0400

    one more comment on the odf_lookup code

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index b30774f..7cfe069 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1156,6 +1156,11 @@ retry:
                        odf_dentry = NULL;
                }
        }
+       /* We return ENOENT if no entry is found, so the caller can
+        * distinguish between an entry not being in the odf and an
+        * entry that is in the odf but is a whiteout, (where NULL is
+        * is returned)
+        */
        else if (!odf_dentry)
                odf_dentry = ERR_PTR(-ENOENT);
 out:
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to