linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Handling a directory search
@ 2006-02-07 22:10 Charles Manning
  2006-02-08  2:18 ` Charles Manning
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Manning @ 2006-02-07 22:10 UTC (permalink / raw)
  To: linux-fsdevel

Hi folks.

I'm tweaking the readdir handling for YAFFS and need to be able to manage a 
"directory search context" structure where I can stash the context. 

ie.

/* user prog  and corresponding YAFFS operation */

   opendir(..);   /* YAFFS needs to create a search context */

  readdir(...);   /* YAFFS needs to use the search context */

  closedir(...); /* YAFFS needs to release the search context */

I am unsure as to how to hook the opendir and closedir to create/release the 
directory search context. 

Any pointers?

First prize: Any examples?

Thanx

-- Charles








    

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

end of thread, other threads:[~2006-02-09 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-07 22:10 Handling a directory search Charles Manning
2006-02-08  2:18 ` Charles Manning
2006-02-09 13:06   ` Tomas Hruby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).