From: Charles Manning <manningc2@actrix.gen.nz>
To: linux-fsdevel@vger.kernel.org
Subject: Handling a directory search
Date: Wed, 8 Feb 2006 11:10:00 +1300 [thread overview]
Message-ID: <200602081110.00692.manningc2@actrix.gen.nz> (raw)
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
next reply other threads:[~2006-02-07 22:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-07 22:10 Charles Manning [this message]
2006-02-08 2:18 ` Handling a directory search Charles Manning
2006-02-09 13:06 ` Tomas Hruby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200602081110.00692.manningc2@actrix.gen.nz \
--to=manningc2@actrix.gen.nz \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).