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)
commite80927079fd97b4d5457e3af2400a0087b561564
tree01422c26125f7fd2f890e7fdab74b76d5bb50728
parent02f938e9fed1681791605ca8b96c2d9da9355f6a
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