Messages in this thread | | | From | "Andrey Borzenkov" <> | Subject | Are "," and ".." in directory required? | Date | Thu, 10 Jul 2003 12:16:56 +0400 |
| |
Is it possible for readdir to return really empty directory - without and entry, even "." and ".."?
The reason is, to enable full FAM/dnotify support for supermount I have to allow open of non-mounted root and - if possible - readdir in this case. Any attepmpt to simulate "." and ".." in this case will result in races between kernel/user space, so the best case would be just return nothing (meaning empty directory).
TIA
-andrey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |