]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
bcache: closures: move control bits one bit right
authorMichael Lyle <mlyle@lyle.org>
Tue, 9 Jan 2018 19:13:23 +0000 (11:13 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 19:18:51 +0000 (12:18 -0700)
commit3609c471a1b86bffc812d8a2f0299892aa11a5e6
tree66b1d3caea30ae69cca99d25289633867758f659
parentaa98192dead2027a8f20a609472cdd7caf15dae4
bcache: closures: move control bits one bit right

Otherwise, architectures that do negated adds of atomics (e.g. s390)
to do atomic_sub fail in closure_set_stopped.

Signed-off-by: Michael Lyle <mlyle@lyle.org>
Cc: Kent Overstreet <kent.overstreet@gmail.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/closure.h