]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf6027bca9e382efc4d4f28a2d9678e0a07428363
tree2f3a1cda1d7d5d2f9197f9fdb0cd9859d3305eb0
parent8792099f9ad487cf381f4e8199ff2158ba0f6eb5
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