aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_state.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-07-15 12:14:27 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:57:56 +0100
commit97af09d51ee1ca4a8687b4c3492a1739384d5a42 (patch)
treed1f9d0bb191251f76f8157f8781defb1e5ee46c1 /drivers/block/drbd/drbd_state.c
parentaccdbcc5f94ec631aa49eb8efd14b3ddd0626191 (diff)
downloadvexpress-lsk-97af09d51ee1ca4a8687b4c3492a1739384d5a42.tar.gz
drbd: Dropped wrong clause to generate new current UUIDs
Looks like a remainder from long ago. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_state.c')
-rw-r--r--drivers/block/drbd/drbd_state.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c
index eafc19532e1..1763357a065 100644
--- a/drivers/block/drbd/drbd_state.c
+++ b/drivers/block/drbd/drbd_state.c
@@ -1239,11 +1239,6 @@ static void after_state_ch(struct drbd_conf *mdev, union drbd_state os,
}
if (ns.pdsk < D_INCONSISTENT && get_ldev(mdev)) {
- if (ns.peer == R_PRIMARY && mdev->ldev->md.uuid[UI_BITMAP] == 0) {
- drbd_uuid_new_current(mdev);
- drbd_send_uuids(mdev);
- }
-
/* D_DISKLESS Peer becomes secondary */
if (os.peer == R_PRIMARY && ns.peer == R_SECONDARY)
/* We may still be Primary ourselves.