jbd2: use a better hash function for the revoke table
authorTheodore Ts'o <tytso@mit.edu>
Thu, 30 Oct 2014 14:53:17 +0000 (10:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Oct 2014 14:53:17 +0000 (10:53 -0400)
commitd48458d4a768cece43f80a081a26cf912877da9c
treee713d0ba1a20da5561f181cd9a17fe1e9cfc550e
parenta41537e69b4aa43f0fea02498c2595a81267383b
jbd2: use a better hash function for the revoke table

The old hash function didn't work well for 64-bit block numbers, and
used undefined (negative) shift right behavior.  Use the generic
64-bit hash function instead.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reported-by: Andrey Ryabinin <a.ryabinin@samsung.com>
fs/jbd2/revoke.c