]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: set pdev_set_uuid before scond loop iteration
authorYi Li <yili@winhong.com>
Mon, 4 Jan 2021 07:41:18 +0000 (15:41 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 Jan 2021 16:21:03 +0000 (09:21 -0700)
commit65797e643860cb5c85fda06626319abd5290bc0e
tree01422c26125f7fd2f890e7fdab74b76d5bb50728
parent3be39cd3e54598fee73ae82e1665ba6430909638
bcache: set pdev_set_uuid before scond loop iteration

There is no need to reassign pdev_set_uuid in the second loop iteration,
so move it to the place before second loop.

Signed-off-by: Yi Li <yili@winhong.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c