]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: split combined if-condition code into separate ones
authorDongbo Cao <cdbdyx@163.com>
Mon, 8 Oct 2018 12:41:20 +0000 (20:41 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Oct 2018 14:19:57 +0000 (08:19 -0600)
commitd005e136dc330763eb058c511deae7953c53f5cb
tree2f3a1cda1d7d5d2f9197f9fdb0cd9859d3305eb0
parentf5d447b5a674f4dabf1230539b4d78f254b8d5d0
bcache: split combined if-condition code into separate ones

Split the combined '||' statements in if() check, to make the code easier
for debug.

Signed-off-by: Dongbo Cao <cdbdyx@163.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c