]> git.baikalelectronics.ru Git - 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)
commitfad5393929af4ee221477fb06f92f9ccd7b4f7e4
tree66b1d3caea30ae69cca99d25289633867758f659
parent12f5d1c12b8a649a4fa30fa68219c816d552d6d3
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