]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: use BIT for ulong hash
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 28 Feb 2020 07:36:39 +0000 (10:36 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Mar 2020 21:06:31 +0000 (14:06 -0700)
commita1e5179d63775b2e306a58f2cfe6f73b24d7ba40
treece46b123606ee438bf6c00ea9ed7b2a59eff7ad2
parent665e58159a47d77ab20f9fb6ffae30dc49ae3fe6
io-wq: use BIT for ulong hash

@hash_map is unsigned long, but BIT_ULL() is used for manipulations.
BIT() is a better match as it returns exactly unsigned long value.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c