diff options
Diffstat (limited to 'drivers/block/drbd/drbd_nl.c')
-rw-r--r-- | drivers/block/drbd/drbd_nl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index 32d00720470b..d764f3cd5866 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c | |||
@@ -1810,6 +1810,11 @@ static int drbd_nl_suspend_io(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nl | |||
1810 | static int drbd_nl_resume_io(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, | 1810 | static int drbd_nl_resume_io(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, |
1811 | struct drbd_nl_cfg_reply *reply) | 1811 | struct drbd_nl_cfg_reply *reply) |
1812 | { | 1812 | { |
1813 | if (test_bit(NEW_CUR_UUID, &mdev->flags)) { | ||
1814 | drbd_uuid_new_current(mdev); | ||
1815 | clear_bit(NEW_CUR_UUID, &mdev->flags); | ||
1816 | drbd_md_sync(mdev); | ||
1817 | } | ||
1813 | drbd_suspend_io(mdev); | 1818 | drbd_suspend_io(mdev); |
1814 | reply->ret_code = drbd_request_state(mdev, NS(susp, 0)); | 1819 | reply->ret_code = drbd_request_state(mdev, NS(susp, 0)); |
1815 | if (reply->ret_code == SS_SUCCESS) { | 1820 | if (reply->ret_code == SS_SUCCESS) { |