diff options
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 3 | ||||
-rw-r--r-- | include/linux/drbd.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index bbe3bff2cad6..8bfedc7164fa 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c | |||
@@ -3763,6 +3763,9 @@ static int w_go_diskless(struct drbd_conf *mdev, struct drbd_work *w, int unused | |||
3763 | * the protected members anymore, though, so in the after_state_ch work | 3763 | * the protected members anymore, though, so in the after_state_ch work |
3764 | * it will be safe to free them. */ | 3764 | * it will be safe to free them. */ |
3765 | drbd_force_state(mdev, NS(disk, D_DISKLESS)); | 3765 | drbd_force_state(mdev, NS(disk, D_DISKLESS)); |
3766 | /* We need to wait for return of references checked out while we still | ||
3767 | * have been D_FAILED, though (drbd_md_sync, bitmap io). */ | ||
3768 | wait_event(mdev->misc_wait, !atomic_read(&mdev->local_cnt)); | ||
3766 | 3769 | ||
3767 | clear_bit(GO_DISKLESS, &mdev->flags); | 3770 | clear_bit(GO_DISKLESS, &mdev->flags); |
3768 | return 1; | 3771 | return 1; |
diff --git a/include/linux/drbd.h b/include/linux/drbd.h index da7d9bd4f3f0..9b2a0158f399 100644 --- a/include/linux/drbd.h +++ b/include/linux/drbd.h | |||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | 54 | ||
55 | extern const char *drbd_buildtag(void); | 55 | extern const char *drbd_buildtag(void); |
56 | #define REL_VERSION "8.3.9rc1" | 56 | #define REL_VERSION "8.3.9rc2" |
57 | #define API_VERSION 88 | 57 | #define API_VERSION 88 |
58 | #define PRO_VERSION_MIN 86 | 58 | #define PRO_VERSION_MIN 86 |
59 | #define PRO_VERSION_MAX 95 | 59 | #define PRO_VERSION_MAX 95 |