From: Jeff Layton <jlayton@redhat.com>
To: viro@zeniv.linux.org.uk
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
smfrench@gmail.com, ebiederm@xmission.com, petr@vandrovec.name
Subject: [PATCH] dcache: export d_hash_and_lookup
Date: Sat, 6 Feb 2010 08:32:23 -0500 [thread overview]
Message-ID: <1265463143-3074-1-git-send-email-jlayton@redhat.com> (raw)
Filesystems occasionally need to the same sort of hash the name and
then do a lookup operation (for instance, in readdir routines). Export
d_hash_and_lookup to make that code more compact.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Steve French <smfrench@gmail.com>
---
fs/dcache.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/dcache.c b/fs/dcache.c
index 953173a..0f427e6 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -2334,6 +2334,7 @@ EXPORT_SYMBOL(d_find_alias);
EXPORT_SYMBOL(d_instantiate);
EXPORT_SYMBOL(d_invalidate);
EXPORT_SYMBOL(d_lookup);
+EXPORT_SYMBOL(d_hash_and_lookup);
EXPORT_SYMBOL(d_move);
EXPORT_SYMBOL_GPL(d_materialise_unique);
EXPORT_SYMBOL(d_path);
--
1.6.6
reply other threads:[~2010-02-06 13:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1265463143-3074-1-git-send-email-jlayton@redhat.com \
--to=jlayton@redhat.com \
--cc=ebiederm@xmission.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=petr@vandrovec.name \
--cc=smfrench@gmail.com \
--cc=viro@zeniv.linux.org.uk \
/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).