public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Are "," and ".." in directory required?
@ 2003-07-10  8:16 "Andrey Borzenkov" 
  2003-07-10 10:01 ` Nikita Danilov
  0 siblings, 1 reply; 7+ messages in thread
From: "Andrey Borzenkov"  @ 2003-07-10  8:16 UTC (permalink / raw)
  To: linux-kernel


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-10 11:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-10  8:16 Are "," and ".." in directory required? "Andrey Borzenkov" 
2003-07-10 10:01 ` Nikita Danilov
2003-07-10 10:19   ` Re[2]: " "Andrey Borzenkov" 
2003-07-10 10:37     ` Nikita Danilov
2003-07-10 11:47       ` "Andrey Borzenkov" 
2003-07-10 10:41     ` Oleg Drokin
2003-07-10 12:01       ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox