OSDN Git Service

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)
commit3684f24653534c71c7dc9f44d7281a838f4e4979
treece46b123606ee438bf6c00ea9ed7b2a59eff7ad2
parent5eae8619907a1389dbd1b4a1049caf52782c0916
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