From: Sasha Levin Date: Tue, 21 Oct 2014 20:43:55 +0000 (-0400) Subject: fs, jbd: use a more generic hash function X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c9cafe05ff002eb84d438a02f3c8d468720463b;p=pandora-kernel.git fs, jbd: use a more generic hash function While the hash function used by the revoke hashtable is good somewhere else, it's not really good here. The default hash shift (8) means that one third of the hashing function gets lost (and is undefined anyways (8 - 12 = negative shift)): "(block << (hash_shift - 12))) & (table->hash_size - 1)" Instead, just use the kernel's generic hash function that gets used everywhere else. Signed-off-by: Sasha Levin Signed-off-by: Jan Kara --- Reading git-diff-tree failed