]> 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)
commit794cc7f9e7542d45f188c63ec96372808d221e60
tree01422c26125f7fd2f890e7fdab74b76d5bb50728
parent56b75f070524d81f5158482862020c70761f5d65
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