commit 8a3d85077ed8ea1600cbf49a557bf5cba36b78e3
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
b30774fda86ac6b947b686858c3d4169f0375b9b..7cfe0691ada8fd4e3a3805b9259f0339de5408a8
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