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>

authored by Yi Li and committed by Jens Axboe e8092707 02f938e9

+1 -1
+1 -1
drivers/md/bcache/super.c
··· 2644 2644 } 2645 2645 2646 2646 list_for_each_entry_safe(pdev, tpdev, &pending_devs, list) { 2647 + char *pdev_set_uuid = pdev->dc->sb.set_uuid; 2647 2648 list_for_each_entry_safe(c, tc, &bch_cache_sets, list) { 2648 - char *pdev_set_uuid = pdev->dc->sb.set_uuid; 2649 2649 char *set_uuid = c->set_uuid; 2650 2650 2651 2651 if (!memcmp(pdev_set_uuid, set_uuid, 16)) {