[PATCH] dcache: export d_hash_and_lookup

From: Jeff Layton
Date: Sat Feb 06 2010 - 08:32:42 EST


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@xxxxxxxxxx>
Cc: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
Cc: Steve French <smfrench@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/