drbd: Fixed current UUID generation
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 15 Jul 2011 10:14:27 +0000 (12:14 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 9 May 2012 13:10:50 +0000 (15:10 +0200)
commitbca482e90bf87569ffb87cba2c3a777ac23e5c86
tree1361d848be0bd4374c90e76323325dc97de72bc3
parent22f46ce2ef94151f806f84ab0f9ee43a72dfb1f1
drbd: Fixed current UUID generation

Now, the new edition of the clause only fires if a diskless
peer gets promoted.

This is a fixup for "drbd: Delayed creation of current-UUID".

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_main.c