linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dcache: export d_hash_and_lookup
@ 2010-02-06 13:32 Jeff Layton
  0 siblings, 0 replies; only message in thread
From: Jeff Layton @ 2010-02-06 13:32 UTC (permalink / raw)
  To: viro; +Cc: linux-kernel, linux-fsdevel, smfrench, ebiederm, petr

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-06 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-06 13:32 [PATCH] dcache: export d_hash_and_lookup Jeff Layton

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).