]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit408a3aac8765a9e72b87bfc01847041d6e017a91
treee713d0ba1a20da5561f181cd9a17fe1e9cfc550e
parent32dcf561eb0ac0dacfc3b08df636d8934d3d8692
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