From: Eric W. Biederman Date: Fri, 31 Mar 2006 10:31:43 +0000 (-0800) Subject: [PATCH] dcache: Add helper d_hash_and_lookup X-Git-Tag: v2.6.17-rc1~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e7e241f8c5c87cc3685364feface081c9fa3648;p=pandora-kernel.git [PATCH] dcache: Add helper d_hash_and_lookup It is very common to hash a dentry and then to call lookup. If we take fs specific hash functions into account the full hash logic can get ugly. Further full_name_hash as an inline function is almost 100 bytes on x86 so having a non-inline choice in some cases can measurably decrease code size. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed